ButtonRF constructor

ButtonRF({
  1. ButtonType? buttonType = ButtonType.elevated,
  2. ButtonStyleRF? buttonStyle,
  3. required Text text,
  4. Icon icon = const Icon(Icons.accessibility_rounded),
  5. Image? image,
  6. Color? color,
  7. Color? textColor = Colors.black87,
  8. Color? splashColor,
  9. double? elevation,
  10. double? width = 100,
  11. double? height = 45,
  12. double borderRadious = 0,
  13. dynamic onTap()?,
})

Implementation

ButtonRF({
  this.buttonType = ButtonType.elevated,
  this.buttonStyle,
  required this.text,
  this.icon = const Icon(Icons.accessibility_rounded),
  this.image,
  this.color,
  this.textColor = Colors.black87,
  this.splashColor,
  this.elevation,
  this.width = 100,
  this.height = 45,
  this.borderRadious = 0,
  this.onTap,
});