AnimatedBetweenMode enum

Controls how each child of AnimatedBetween fills the animated box during a transition.

Inheritance
Available extensions

Values

resize → const AnimatedBetweenMode

Each child is forced to the current animated box size via tight constraints (no scaling). The child re-lays out at that size, so text rewraps, flex children redistribute, etc. The effect is like dragging the edge of a resizable container: the content reshapes continuously as the box grows or shrinks.

overflow → const AnimatedBetweenMode

Each child is rendered at its natural size inside the animated box. If the box is currently smaller than the child, the child overflows and is clipped by the widget's clipBehavior; if the box is larger, the child is aligned with empty space around it. The box opens or closes around content that itself never changes size.

fit → const AnimatedBetweenMode

Each child is scaled (via FittedBox with BoxFit.fill) to match the current animated box size. The children visually stretch or compress together with the box, so the incoming child starts at the outgoing child's size and ends at its own natural size. Aspect ratio is not preserved — the two axes scale independently.

Properties

$ Signal<T>

Available on T, provided by the SignalEnumExtensions extension

Return a signal from a Enum value
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<AnimatedBetweenMode>
A constant List of the values in this enum, in order of their declaration.