sizeVariant property

ButtonSizeVariant? sizeVariant
final

The Material 3 Expressive size variant for this button.

A size variant selects a component-defined token set rather than a single dimension. For example, an IconButton uses this value to choose its default container size, padding, and icon size when it is using StyleVariant.material3Expressive.

Use minimumSize, fixedSize, maximumSize, padding, or iconSize to directly override those individual style properties.

Implementation

final ButtonSizeVariant? sizeVariant;