HeroContainerOverlay class
Utility class for launching hero container transitions.
Provides a static method to initiate the snapshot-based transition animation by capturing the initial widget state and pushing the hero container route.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
push(
{required BuildContext context, required HeroContainerController controller, Color? openedColor, Color? closedColor, ShapeBorder? openedShape, ShapeBorder? closedShape, required double openedElevation, required double closedElevation, required BoxFit openedFit, required BoxFit closedFit, required AlignmentGeometry openedAlignemnt, required AlignmentGeometry closedAlignment, required Duration transitionDuration, required Curve transitionCurve, HeroContianerClosedCallback? onClosed, HeroContianerFlightShuttleBuilder? flightShuttleBuilder}) → Future< void> - Launches a hero container transition.