diff --git a/examples/flutter_gallery/lib/gallery/home.dart b/examples/flutter_gallery/lib/gallery/home.dart index 54b538f85bb..da1071af14a 100644 --- a/examples/flutter_gallery/lib/gallery/home.dart +++ b/examples/flutter_gallery/lib/gallery/home.dart @@ -42,7 +42,9 @@ class _AppBarBackground extends StatelessWidget { @override Widget build(BuildContext context) { - Animation effectiveAnimation = animation ?? kAlwaysCompleteAnimation; + // TODO(abarth): Wire up to the parallax of the FlexibleSpaceBar in a way + // that doesn't pop during hero transition. + Animation effectiveAnimation = kAlwaysDismissedAnimation; return new AnimatedBuilder( animation: effectiveAnimation, builder: (BuildContext context, Widget child) {