CustomButton constructor
CustomButton({
- Key? key,
- required String? buttonText,
- Color? buttonColor,
- double? cornerRadius,
- required dynamic onClick()?,
- MaterialColor? textColor,
- double? fontSize,
- double? verticalPadding,
- double? horizontalPadding,
- bool? showIndicator = false,
- ButtonStyle? style,
Implementation
CustomButton(
{
super.key,
required this.buttonText,
this.buttonColor,
this.cornerRadius,
required this.onClick,
this.textColor,
this.fontSize,
this.verticalPadding,
this.horizontalPadding,
this.showIndicator = false,
this.style
});