ButtonStyle.muted constructor
const
ButtonStyle.muted({
- ButtonSize size = ButtonSize.normal,
- ButtonDensity density = ButtonDensity.normal,
- ButtonShape shape = ButtonShape.rectangle,
Creates a muted button style with subdued appearance.
Muted buttons use low-contrast colors for minimal visual impact while remaining functional.
Implementation
const ButtonStyle.muted({
this.size = ButtonSize.normal,
this.density = ButtonDensity.normal,
this.shape = ButtonShape.rectangle,
}) : variance = ButtonVariance.muted;