ConstrainedBox constructor
- Key? key,
- required BoxConstraints constraints,
- Widget? child,
Creates a widget that imposes additional constraints on its child.
Implementation
ConstrainedBox({
super.key,
required this.constraints,
super.child,
}) : assert(constraints.debugAssertIsValid());