ButtonStyle.card constructor
const
ButtonStyle.card({
- ButtonSize size = ButtonSize.normal,
- ButtonDensity density = ButtonDensity.normal,
- ButtonShape shape = ButtonShape.rectangle,
Creates a card button style with elevated appearance.
Card buttons feature subtle shadows and borders creating an elevated, card-like appearance suitable for content-heavy layouts.
Implementation
const ButtonStyle.card({
this.size = ButtonSize.normal,
this.density = ButtonDensity.normal,
this.shape = ButtonShape.rectangle,
}) : variance = ButtonVariance.card;