ButtonConfig constructor

const ButtonConfig({
  1. required String buttonText,
  2. TextStyle? textStyle,
  3. double height = 55,
  4. double minWidth = 100,
  5. Color buttonColor = AppColors.activButtonColor,
  6. Color buttonBorderColor = AppColors.borderButtonColor,
  7. Color textColor = AppColors.black,
  8. Color loaderColor = AppColors.white,
  9. Widget? titleWidget,
  10. bool addBorder = false,
  11. 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,
});