DiagonalIndexedStack.topRight constructor

const DiagonalIndexedStack.topRight({
  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 right.

Implementation

const DiagonalIndexedStack.topRight({
  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),
      );