AnimatedColumn constructor
const
AnimatedColumn({
- Key? key,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- MainAxisSize mainAxisSize = MainAxisSize.max,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- TextDirection? textDirection,
- VerticalDirection verticalDirection = VerticalDirection.down,
- TextBaseline? textBaseline,
- required List<
Widget> children, - Clip clipBehavior = Clip.none,
- double spacing = 0.0,
- Duration movementDuration = defaultMoveAnimationDuration,
- double sensitivity = 5.0,
- Duration? insertionDuration = defaultInsertionDuration,
- Widget insertionBuilder()?,
- Duration? removalDuration = defaultRemovalDuration,
- Widget removalBuilder()?,
- Duration? staggeredInitialInsertionAnimation,
Creates an animated vertical array of children.
The mainAxisAlignment, mainAxisSize, crossAxisAlignment, and
verticalDirection arguments must not be null. If crossAxisAlignment is
CrossAxisAlignment.baseline, then textBaseline must not be null.
The textDirection argument defaults to the ambient Directionality, if
any. If there is no ambient directionality, and a text direction is going
to be necessary to determine the layout order (which is always the case
unless the column has no children or only one child) or to disambiguate
start or end values for the crossAxisAlignment, the textDirection
must not be null.
Implementation
const AnimatedColumn({
super.key,
super.mainAxisAlignment,
super.mainAxisSize,
super.crossAxisAlignment,
super.textDirection,
super.verticalDirection,
super.textBaseline,
required super.children,
super.clipBehavior,
super.spacing,
super.movementDuration,
super.sensitivity,
super.insertionDuration,
super.insertionBuilder,
super.removalDuration,
super.removalBuilder,
super.staggeredInitialInsertionAnimation,
}) : super(direction: Axis.vertical);