ButtonStyle.ghost constructor
const
ButtonStyle.ghost({
- ButtonSize size = ButtonSize.normal,
- ButtonDensity density = ButtonDensity.normal,
- ButtonShape shape = ButtonShape.rectangle,
Creates a ghost button style with minimal visual presence.
Ghost buttons have no background or border, only showing on hover, making them ideal for tertiary actions.
Implementation
const ButtonStyle.ghost({
this.size = ButtonSize.normal,
this.density = ButtonDensity.normal,
this.shape = ButtonShape.rectangle,
}) : variance = ButtonVariance.ghost;