AnimatedDimensionSizedBox constructor
AnimatedDimensionSizedBox({})
Creates a widget that insets its child by a value that animates implicitly.
The padding
, curve
, and duration
arguments must not be null.
Implementation
AnimatedDimensionSizedBox({
Key? key,
this.width,
this.height,
this.alignment,
this.child,
Curve curve = Curves.linear,
required Duration duration,
VoidCallback? onEnd,
}) : super(key: key, curve: curve, duration: duration, onEnd: onEnd);