MephistoCenterIconButton constructor
const
MephistoCenterIconButton({ - Key? key,
- required String text,
- required Function onClick,
- String? variant = "lg",
- bool? isBold = true,
- bool? isDisabled = false,
- bool? isLoading = false,
- Color? bgColor,
- Color? textColor = white,
- Color? disabledBgColor,
- Widget? icon,
- Widget? suffixIcon,
})
Implementation
const MephistoCenterIconButton(
{super.key,
required this.text,
required this.onClick,
this.variant = "lg",
this.isBold = true,
this.isDisabled = false,
this.isLoading = false,
this.bgColor,
this.textColor = white,
this.disabledBgColor,
this.icon,
this.suffixIcon});