Restore omitted optional 'new' to fix Flutter gallery in Dart 1 mode (#18087)
This commit is contained in:
parent
bf531ba871
commit
ed20de0ae9
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user