ScaleAnimation constructor

const ScaleAnimation({
  1. Key? key,
  2. Duration duration = const Duration(milliseconds: 800),
  3. required Widget child,
  4. Curve curve = Curves.fastOutSlowIn,
  5. double initScale = 0.0,
  6. double finalScale = 1.0,
})

Implementation

const ScaleAnimation({
  Key? key,
  this.duration = const Duration(milliseconds: 800),
  required this.child,
  this.curve = Curves.fastOutSlowIn,
  this.initScale = 0.0,
  this.finalScale = 1.0,
}) : super(key: key);