shapeVariant property
The Material 3 Expressive shape variant for this button.
A shape variant selects between component-defined token families, such as round and square shapes. For IconButton, this affects the default container and selected-state shapes when it is using StyleVariant.material3Expressive; state-specific tokens, such as the pressed shape, are still resolved by the component defaults.
Use shape to provide a specific OutlinedBorder or stateful shape override instead of selecting one of the Material 3 Expressive shape variants.
Implementation
final ButtonShapeVariant? shapeVariant;