constraints property Null safety

BoxConstraints? constraints
final

Defines the button's size.

Typically used to constrain the button's minimum size.

If this property is null, then BoxConstraints(minWidth: 48.0, minHeight: 48.0) is be used.

Implementation

final BoxConstraints? constraints;