SizeFactorIndexedStack constructor
const
SizeFactorIndexedStack({
- Key? key,
- List<
Widget> children = const [], - StackFit sizing = StackFit.loose,
- AlignmentGeometry alignment = AlignmentDirectional.topStart,
- int? index = 0,
- TextDirection? textDirection,
- Duration duration = const Duration(milliseconds: 250),
- double beginSizeFactor = 0,
- double endSizeFactor = 1,
- Curve curve = Curves.easeInOut,
- Axis axis = Axis.vertical,
- double axisAlignment = 0,
Creates An Indexed Stack with Size Factor Animation.
Implementation
const SizeFactorIndexedStack({
super.key,
this.children = const [],
this.sizing = StackFit.loose,
this.alignment = AlignmentDirectional.topStart,
this.index = 0,
this.textDirection,
this.duration = const Duration(milliseconds: 250),
this.beginSizeFactor = 0,
this.endSizeFactor = 1,
this.curve = Curves.easeInOut,
this.axis = Axis.vertical,
this.axisAlignment = 0,
});