SlideIndexedStack.up constructor

const SlideIndexedStack.up({
  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. Curve curve = Curves.easeInOut,
})

Creates An Indexed Stack with Slide Up Animation.

Implementation

const SlideIndexedStack.up({
  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.curve = Curves.easeInOut,
})  : beginSlideOffset = const Offset(0, 1),
      endSlideOffset = const Offset(0, 0);