ShakeIndexedStack constructor
const
ShakeIndexedStack({
- 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),
- Curve curve = Curves.easeInOut,
- int shakesCount = 10,
- double shakeFrequency = 0.04,
Creates An Indexed Stack with Shake Animation.
Implementation
const ShakeIndexedStack({
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.curve = Curves.easeInOut,
this.shakesCount = 10,
this.shakeFrequency = 0.04,
});