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