RenderConstrainedBox constructor
- RenderBox? child,
- required BoxConstraints additionalConstraints,
Creates a render box that constrains its child.
The additionalConstraints
argument must be valid.
Implementation
RenderConstrainedBox({
RenderBox? child,
required BoxConstraints additionalConstraints,
}) : assert(additionalConstraints.debugAssertIsValid()),
_additionalConstraints = additionalConstraints,
super(child);