ButtonPrimary constructor
const
ButtonPrimary(
- String label,
- VoidCallback? onPressed, {
- Key? key,
- Color btnColor = Colours.accent,
- Color btnOutlineColor = Colours.accent,
- Color labelColor = Colors.white,
- FontWeight labelFontWeight = FontWeight.w700,
- double horizontalPadding = 0,
- bool showSpinner = false,
Implementation
const ButtonPrimary(
this.label,
this.onPressed,
{ Key? key,
this.btnColor = Colours.accent,
this.btnOutlineColor = Colours.accent,
this.labelColor = Colors.white,
this.labelFontWeight = FontWeight.w700,
this.horizontalPadding = 0,
this.showSpinner = false
}) : super(key: key);