SizedOverflowBox constructor Null safety
- {Key? key,
- required Size size,
- AlignmentGeometry alignment = Alignment.center,
- Widget? child}
Creates a widget of a given size that lets its child overflow.
The size argument must not be null.
Implementation
const SizedOverflowBox({
super.key,
required this.size,
this.alignment = Alignment.center,
super.child,
}) : assert(size != null),
assert(alignment != null);