ScaleAnimation constructor

const ScaleAnimation({
  1. Key? key,
  2. Duration? duration,
  3. Duration? delay,
  4. Curve curve = Curves.ease,
  5. double scale = 0.0,
  6. required Widget child,
})

Implementation

const ScaleAnimation({
  super.key,
  this.duration,
  this.delay,
  this.curve = Curves.ease,
  this.scale = 0.0,
  required this.child,
}) : assert(scale >= 0.0);