DiagonalIndexedStack.topRight constructor
const
DiagonalIndexedStack.topRight({
- Key? key,
- AlignmentGeometry alignment = AlignmentDirectional.topStart,
- int? index = 0,
- List<
Widget> children = const [], - Duration duration = const Duration(milliseconds: 250),
- Curve curve = Curves.easeInOut,
- TextDirection? textDirection,
- 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),
);