CustomScaleAnimation constructor

const CustomScaleAnimation({
  1. Key? key,
  2. required AnimationController controller,
  3. required Widget child,
  4. Duration afterHidden = const Duration(seconds: 2),
  5. dynamic onCancel()?,
})

Implementation

const CustomScaleAnimation(
    {Key? key,
    required this.controller,
    required this.child,
    this.afterHidden = const Duration(seconds: 2),
    this.onCancel})
    : super(key: key);