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