MephistoCenterIconButton constructor

const MephistoCenterIconButton({
  1. Key? key,
  2. required String text,
  3. required Function onClick,
  4. String? variant = "lg",
  5. bool? isBold = true,
  6. bool? isDisabled = false,
  7. bool? isLoading = false,
  8. Color? bgColor,
  9. Color? textColor = white,
  10. Color? disabledBgColor,
  11. Widget? icon,
  12. 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});