ScaleAnimation constructor
Creates a scale animation that scales its child for its center.
Default value for scale
is 0.0.
The child
argument must not be null.
Implementation
const ScaleAnimation({
Key key,
this.duration,
this.delay,
this.scale = 0.0,
@required this.child,
}) : assert(child != null),
assert(scale != null && scale >= 0.0),
super(key: key);