SlideIndexedStack.left constructor

const SlideIndexedStack.left({
  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 Left Animation.

Implementation

const SlideIndexedStack.left({
  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, 0),
      endSlideOffset = const Offset(-1, 0);