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({
Key? key,
required this.size,
this.alignment = Alignment.center,
Widget? child,
}) : assert(size != null),
assert(alignment != null),
super(key: key, child: child);