FadeIndexedStack constructor

const FadeIndexedStack({
  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 beginOpacity = 0,
  9. double endOpacity = 1,
  10. 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,
});