FastCustomButton constructor

FastCustomButton({
  1. Gradient gradient = const LinearGradient(colors: [Colors.blue, Colors.blue]),
  2. Color color = Colors.white,
  3. String text = 'button',
  4. double fontSize = 15.0,
  5. double height = 35,
  6. double? width,
  7. Widget? icon,
  8. Color? backgroundColor,
  9. double radius = 50.0,
  10. Color? borderColor,
  11. VoidCallback? onTap,
  12. 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,
});