ButtonConfig constructor
const
ButtonConfig({
- required String buttonText,
- TextStyle? textStyle,
- double height = 55,
- double minWidth = 100,
- Color buttonColor = AppColors.activButtonColor,
- Color buttonBorderColor = AppColors.borderButtonColor,
- Color textColor = AppColors.black,
- Color loaderColor = AppColors.white,
- Widget? titleWidget,
- bool addBorder = false,
- bool isBusy = false,
Implementation
const ButtonConfig({
required this.buttonText,
this.textStyle,
this.height = 55,
this.minWidth = 100,
this.buttonColor = AppColors.activButtonColor,
this.buttonBorderColor = AppColors.borderButtonColor,
this.textColor = AppColors.black,
this.loaderColor = AppColors.white,
this.titleWidget,
this.addBorder = false,
this.isBusy = false,
});