CustomButton constructor

const CustomButton({
  1. Key? key,
  2. required Function onClick,
  3. required String buttonText,
  4. bool? showMargin,
  5. double? height,
  6. Color? buttonColor,
  7. Color? borderColor,
  8. Color? textColor,
})

Implementation

const CustomButton(
    {super.key,
    required this.onClick,
    required this.buttonText,
    this.showMargin,
    this.height,
    this.buttonColor,
      this.borderColor,
    this.textColor
    });