AnimatedOverflowBox constructor
AnimatedOverflowBox({
- AlignmentGeometry alignment = Alignment.center,
- double? minWidth,
- double? maxWidth,
- double? minHeight,
- double? maxHeight,
- Key? key,
- Curve curve = Curves.linear,
- VoidCallback? onEnd,
- required Duration duration,
- Widget? child,
Implementation
AnimatedOverflowBox({
AlignmentGeometry alignment = Alignment.center,
double? minWidth,
double? maxWidth,
double? minHeight,
double? maxHeight,
super.key,
super.curve,
super.onEnd,
required super.duration,
super.child,
}) : super(
value: _OverflowValue(
alignment: alignment,
minWidth: minWidth,
maxWidth: maxWidth,
minHeight: minHeight,
maxHeight: maxHeight,
),
lerp: _OverflowValue.lerp,
builder: (_, value, __) {
return OverflowBox(
alignment: value.alignment,
minWidth: value.minWidth,
maxWidth: value.maxWidth,
minHeight: value.minHeight,
maxHeight: value.maxHeight,
child: child,
);
},
);