ButtonStyle.primary constructor
const
ButtonStyle.primary({
- ButtonSize size = ButtonSize.normal,
- ButtonDensity density = ButtonDensity.normal,
- ButtonShape shape = ButtonShape.rectangle,
Implementation
const ButtonStyle.primary({
this.size = ButtonSize.normal,
this.density = ButtonDensity.normal,
this.shape = ButtonShape.rectangle,
}) : variance = ButtonVariance.primary;