Results for “Hero”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
Guides
- Hero animationsdoc
animate a widget to fly between two screens. The hero refers to the widget that flies between screens. Create a hero animation using Flutter's Hero
- Animate a widget across screensdoc
next. This creates a visual anchor connecting the two screens. Use the Hero widget to animate a widget from one screen to the next. This recipe uses
- Introduction to animationsdoc
How to perform animations in Flutter. Well-designed animations make a UI
- Stack-based navigationdoc
Learn how to navigate from one page to another in a Flutter
- Animations tutorialdoc
A tutorial showing how to build explicit animations in Flutter. How to
API reference
- Heroclass
widget that marks its child as being a candidate for hero animations. widgets.Hero Hero Hero class widgets
- HeroModeclass
Enables or disables Heroes in the widget subtree. widgets.HeroMode HeroMode Hero Mode class widgets
- HeroControllerclass
Navigator observer that manages Hero transitions. widgets.HeroController HeroController Hero Controller class widgets
- HeroControllerScopeclass
inherited widget to host a hero controller. widgets.HeroControllerScope HeroControllerScope Hero Controller Scope class widgets
- Hero.newconstructor
Create a hero. widgets.Hero.Hero.new Hero new Hero.new constructor widgets
- HeroMode.newconstructor
Creates a widget that enables or disables Heroes. widgets.HeroMode.HeroMode.new HeroMode new Hero Mode.new constructor widgets
- HeroController.newconstructor
Creates a hero controller with the given RectTween constructor if any. widgets.HeroController.HeroController.new HeroController new Hero Controller.new constructor widgets
- HeroControllerScope.noneconstructor
widget to prevent the subtree from receiving the hero controller above. widgets.HeroControllerScope.HeroControllerScope.none HeroControllerScope none Hero Controller Scope.none constructor widgets
- HeroControllerScope.newconstructor
Creates a widget to host the input controller. widgets.HeroControllerScope.HeroControllerScope.new HeroControllerScope new Hero Controller Scope.new constructor widgets
- widgets.HeroFlightShuttleBuildertypedef
show the destination route's instance of the Hero). widgets.HeroFlightShuttleBuilder HeroFlightShuttleBuilder Hero Flight Shuttle Builder typedef widgets
- widgets.HeroFlightDirectionenum
Direction of the hero's flight based on the navigation operation. widgets.HeroFlightDirection HeroFlightDirection Hero Flight Direction enum widgets
- widgets.HeroPlaceholderBuildertypedef
builds a Hero placeholder widget given a child and a Size. widgets.HeroPlaceholderBuilder HeroPlaceholderBuilder Hero Placeholder Builder typedef widgets
Version changes
- More Strict Assertions in the Navigator and the Hero Controller Scope1.20.0breaking
assertion error when it detects there are multiple navigators registered with one hero controller scope. If the code starts throwing assertion errors after this change, it means
- Replace deprecated `withOpacity` in `hero.1.dart` example3.41.0deprecated
Replace deprecated `withOpacity` in `hero.1.dart` example (Framework, by @AbdeMohlbi
- Enhance Hero widget with customizable animation curves3.44.0improvement
Enhance Hero widget with customizable animation curves (Framework, by @aaazlkm
- Make sure that a Hero doesn't crash in 0x0 environment3.44.0bugfix
Make sure that a Hero doesn't crash in 0x0 environment (Framework, by @ahmedsameha1
- Migrate of to non-nullable return values, and add maybeOf3.7.0breaking
This migration guide describes conversion of code that uses various static `of
- SnackBars managed by the ScaffoldMessenger2.0.0breaking
The `SnackBar` API within the `Scaffold` is now handled by the `ScaffoldMessenger