FastCustomButton constructor
FastCustomButton({
- Gradient gradient = const LinearGradient(colors: [Colors.blue, Colors.blue]),
- Color color = Colors.white,
- String text = 'button',
- double fontSize = 15.0,
- double height = 35,
- double? width,
- Widget? icon,
- Color? backgroundColor,
- double radius = 50.0,
- Color? borderColor,
- VoidCallback? onTap,
- Axis direction = Axis.horizontal,
Implementation
FastCustomButton({
this.gradient = const LinearGradient(colors: [Colors.blue,Colors.blue]),
this.color = Colors.white,
this.text = 'button',
this.fontSize = 15.0,
this.height = 35,
this.width,
this.icon,
this.backgroundColor,
this.radius = 50.0,
this.borderColor,
this.onTap,
this.direction = Axis.horizontal,
});