SmoothHero constructor
- required Object? tag,
- required bool enabled,
- required Widget child,
- dynamic onAnimationEnded(
- HeroFlightDirection direction
- Key? key,
Implementation
const SmoothHero({
required this.tag,
required this.enabled,
required this.child,
this.onAnimationEnded,
super.key,
}) : assert(!enabled || tag != null);