DiagonalIndexedStack.topLeft constructor

const DiagonalIndexedStack.topLeft({
  1. Key? key,
  2. AlignmentGeometry alignment = AlignmentDirectional.topStart,
  3. int? index = 0,
  4. List<Widget> children = const [],
  5. Duration duration = const Duration(milliseconds: 250),
  6. Curve curve = Curves.easeInOut,
  7. TextDirection? textDirection,
  8. StackFit sizing = StackFit.loose,
})

Creates An Indexed Stack with Diagonal Slide Animation from the top left.

Implementation

const DiagonalIndexedStack.topLeft({
  super.key,
  super.alignment,
  super.index,
  super.children,
  super.duration,
  super.curve,
  super.textDirection,
  super.sizing,
}) : super(
        beginSlideOffset: const Offset(-1, -1),
        endSlideOffset: const Offset(0, 0),
      );