FadeIndexedStack constructor
const
FadeIndexedStack({
- 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 beginOpacity = 0,
- double endOpacity = 1,
- Curve curve = Curves.easeInOut,
Creates An Indexed Stack with Fade Animation.
Implementation
const FadeIndexedStack({
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.beginOpacity = 0,
this.endOpacity = 1,
this.curve = Curves.easeInOut,
});