SizeFactorIndexedStack constructor

const SizeFactorIndexedStack({
  1. Key? key,
  2. List<Widget> children = const [],
  3. StackFit sizing = StackFit.loose,
  4. AlignmentGeometry alignment = AlignmentDirectional.topStart,
  5. int? index = 0,
  6. TextDirection? textDirection,
  7. Duration duration = const Duration(milliseconds: 250),
  8. double beginSizeFactor = 0,
  9. double endSizeFactor = 1,
  10. Curve curve = Curves.easeInOut,
  11. Axis axis = Axis.vertical,
  12. 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,
});