FSScaleAnimationElastic constructor
const
FSScaleAnimationElastic({
- Key? key,
- required Widget child,
- double beginScale = 0.0,
- double endScale = 1.0,
- Duration duration = const Duration(milliseconds: 800),
- Duration delay = Duration.zero,
- bool autoPlay = true,
- VoidCallback? onComplete,
- VoidCallback? onCancel,
- Alignment alignment = Alignment.center,
- bool maintainState = true,
- bool respectSystemPreferences = true,
Implementation
const FSScaleAnimationElastic({
super.key,
required this.child,
this.beginScale = 0.0,
this.endScale = 1.0,
this.duration = const Duration(milliseconds: 800),
this.delay = Duration.zero,
this.autoPlay = true,
this.onComplete,
this.onCancel,
this.alignment = Alignment.center,
this.maintainState = true,
this.respectSystemPreferences = true,
});