MephistoButton constructor
const
MephistoButton({ - Key? key,
- required String text,
- required Function onClick,
- String? variant = "lg",
- bool? isBold = true,
- bool? isDisabled = false,
- bool? isLoading = false,
- Color? textColor,
- double opacity = 1,
- Color? disabledBgColor,
- bool? isFullWidth = false,
- Color? bgColor,
- Widget? content,
})
Implementation
const MephistoButton(
{super.key,
required this.text,
required this.onClick,
this.variant = "lg",
this.isBold = true,
this.isDisabled = false,
this.isLoading = false,
this.textColor,
this.opacity = 1,
this.disabledBgColor,
this.isFullWidth = false,
this.bgColor,
this.content});