AnimtedSpring constructor
AnimtedSpring({
- Key? key,
- required Widget child,
- SpringDescription spring = const SpringDescription(mass: 10, stiffness: 1, damping: 1),
- AnimationAction shouldAnimate()?,
Implementation
AnimtedSpring({
Key? key,
required this.child,
this.spring = const SpringDescription(mass: 10, stiffness: 1, damping: 1),
this.shouldAnimate,
}) : super(key: key);