constraints property

  1. @override
BoxConstraints? get constraints
override

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

@override
BoxConstraints? get constraints => $value.constraints;