ButtonStyle.secondary constructor
const
ButtonStyle.secondary({
- ButtonSize size = ButtonSize.normal,
- ButtonDensity density = ButtonDensity.normal,
- ButtonShape shape = ButtonShape.rectangle,
Creates a secondary button style with muted appearance.
Secondary buttons have less visual prominence than primary buttons, suitable for supporting or alternative actions.
Implementation
const ButtonStyle.secondary({
this.size = ButtonSize.normal,
this.density = ButtonDensity.normal,
this.shape = ButtonShape.rectangle,
}) : variance = ButtonVariance.secondary;