maximumSize property

MaterialStateProperty<Size?>? maximumSize
final

The maximum size of the button itself.

A Size.infinite or null value for this property means that the button's maximum size is not constrained.

This value must be greater than or equal to minimumSize.

Implementation

final MaterialStateProperty<Size?>? maximumSize;