CustomButtonWidget constructor

CustomButtonWidget({
  1. Key? key,
  2. required String buttonText,
  3. required VoidCallback onTap,
  4. String? font,
  5. double height = 50,
  6. double radius = 8,
  7. double width = 50,
  8. num fontSize = 16,
  9. Color? buttonTextColor,
  10. Color? borderColor,
  11. bool disabled = false,
  12. bool loading = false,
  13. Color? buttonColor,
})

Implementation

CustomButtonWidget(
    {Key? key,
    required this.buttonText,
    required this.onTap,
    this.font,
    this.height = 50,
    this.radius = 8,
    this.width = 50,
    this.fontSize = 16,
    this.buttonTextColor,
    this.borderColor,
    this.disabled = false,
    this.loading = false,
    this.buttonColor})
    : super(key: key);