MorphFlightConfig class sealed
Chooses how a shared element appears while moving between matching widgets.
Set Morph.flightConfig to configure the visual shown during a transition. The departing endpoint supplies the configuration for that direction.
See the Morph guide for automatic and custom transitions.
Constructors
-
MorphFlightConfig.auto({double childSwitchAt, Widget childTransition(Widget child, Animation<
double> animation)?}) -
Animates supported widgets automatically and configures child replacement.
constfactory
-
MorphFlightConfig.custom(MorphFlightDelegate<
Object?> delegate) -
Uses
delegateto capture, interpolate, and build the shared visual.constfactory
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