constraints property

BoxConstraints? constraints
final

Additional constraints to apply to the child.

The constructor width and height arguments are combined with the constraints argument to set this property.

The padding goes inside the constraints.

Implementation

final BoxConstraints? constraints;