LocalHero constructor
const
LocalHero({
- Key? key,
- required Object tag,
- LocalHeroFlightShuttleBuilder? flightShuttleBuilder,
- bool enabled = true,
- required Widget child,
Creates a LocalHero.
If between two frames, the position of a LocalHero with the same tag changes, a local hero animation will be triggered.
Implementation
const LocalHero({
Key? key,
required this.tag,
this.flightShuttleBuilder,
this.enabled = true,
required this.child,
}) : super(key: key);