ButtonRF constructor
ButtonRF({
- ButtonType? buttonType = ButtonType.elevated,
- ButtonStyleRF? buttonStyle,
- required Text text,
- Icon icon = const Icon(Icons.accessibility_rounded),
- Image? image,
- Color? color,
- Color? textColor = Colors.black87,
- Color? splashColor,
- double? elevation,
- double? width = 100,
- double? height = 45,
- double borderRadious = 0,
- 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,
});