SlideIndexedStack.right constructor
const
SlideIndexedStack.right({
- 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),
- Curve curve = Curves.easeInOut,
Creates An Indexed Stack with Slide Right Animation.
Implementation
const SlideIndexedStack.right({
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);