Restore omitted optional 'new' to fix Flutter gallery in Dart 1 mode (#18087)

This commit is contained in:
Alexander Markov 2018-05-31 17:48:09 -07:00 committed by GitHub
parent bf531ba871
commit ed20de0ae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ class _AnimatedSwitcherState extends State<AnimatedSwitcher> with TickerProvider
}) {
final _AnimatedSwitcherChildEntry entry = new _AnimatedSwitcherChildEntry(
widgetChild: widget.child,
transition: KeyedSubtree.wrap(
transition: new KeyedSubtree.wrap(
widget.transitionBuilder(
widget.child,
animation,