AnimatedSizedBox constructor
AnimatedSizedBox({})
Implementation
AnimatedSizedBox({
double? width,
double? height,
super.key,
super.curve,
super.onEnd,
required super.duration,
super.child,
}) : super(
value: _SizedBoxValue(width, height),
lerp: _SizedBoxValue.lerp,
builder: (_, value, __) {
return SizedBox(
width: value.width,
height: value.height,
child: child,
);
},
);