ButtonArgs constructor

ButtonArgs({
  1. double? width,
  2. double height = 40,
  3. String text = '',
  4. Color color = const Color(0xFF999999),
  5. FontWeight fontWeight = FontWeight.normal,
  6. String action = '',
  7. double fontSize = 16,
  8. Color backgroundColor = Colors.transparent,
  9. EdgeInsetsGeometry margin = EdgeInsets.zero,
  10. BorderRadius borderRadius = BorderRadius.zero,
})

Implementation

ButtonArgs({
  this.width,
  this.height = 40,
  this.text = '',
  this.color = const Color(0xFF999999),
  this.fontWeight = FontWeight.normal,
  this.action = '',
  this.fontSize = 16,
  this.backgroundColor = Colors.transparent,
  this.margin = EdgeInsets.zero,
  this.borderRadius = BorderRadius.zero,
});