LocalHero constructor

const LocalHero({
  1. Key? key,
  2. required Object tag,
  3. LocalHeroFlightShuttleBuilder? flightShuttleBuilder,
  4. bool enabled = true,
  5. 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);