DialogButtonSettings constructor

const DialogButtonSettings(
  1. String text, {
  2. EdgeInsets padding = const EdgeInsets.symmetric(vertical: 14, horizontal: 12),
  3. Color textColor = Colors.white,
  4. bool activeBorder = false,
  5. bool mediumFont = true,
  6. double radius = 10,
  7. double? customHeight = 50,
  8. double fontSize = 16,
  9. double? iconsize,
  10. double? customWidth,
  11. Color? backgroundColor,
  12. IconData? icon,
})

Implementation

const DialogButtonSettings(
  this.text, {
  this.padding = const EdgeInsets.symmetric(vertical: 14, horizontal: 12),
  this.textColor = Colors.white,
  this.activeBorder = false,
  this.mediumFont = true,
  this.radius = 10,
  this.customHeight = 50,
  this.fontSize = 16,
  this.iconsize,
  this.customWidth,
  this.backgroundColor,
  this.icon,
});