Unverified Commit ed20de0a authored by Alexander Markov's avatar Alexander Markov Committed by GitHub

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

parent bf531ba8
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment