FSScaleAnimationElastic constructor

const FSScaleAnimationElastic({
  1. Key? key,
  2. required Widget child,
  3. double beginScale = 0.0,
  4. double endScale = 1.0,
  5. Duration duration = const Duration(milliseconds: 800),
  6. Duration delay = Duration.zero,
  7. bool autoPlay = true,
  8. VoidCallback? onComplete,
  9. VoidCallback? onCancel,
  10. Alignment alignment = Alignment.center,
  11. bool maintainState = true,
  12. 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,
});