ButtonConfig constructor

const ButtonConfig({
  1. required double amount,
  2. TextStyle? textStyle,
  3. double height = 55,
  4. double minWidth = 100,
  5. required String buttonColor,
  6. Color? buttonBorderColor,
  7. String textColor = '000000',
  8. String loaderColor = 'FFFFFF',
  9. Widget? titleWidget,
  10. bool addBorder = false,
})

Implementation

const ButtonConfig({
  required this.amount,
  this.textStyle,
  this.height = 55,
  this.minWidth = 100,
  required this.buttonColor,
  this.buttonBorderColor,
  this.textColor = '000000',
  this.loaderColor = 'FFFFFF',
  this.titleWidget,
  this.addBorder = false,
});