GradientBorderButton constructor

const GradientBorderButton({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onPressed,
  4. IconData? icon,
  5. Gradient? gradient,
  6. double borderWidth = 2.0,
  7. double height = 48.0,
  8. double? width,
  9. bool expanded = false,
  10. double radius = AppRadius.medium,
  11. Color? backgroundColor,
  12. Color? textColor,
  13. bool glow = true,
})

Implementation

const GradientBorderButton({
  super.key,
  required this.label,
  this.onPressed,
  this.icon,
  this.gradient,
  this.borderWidth = 2.0,
  this.height = 48.0,
  this.width,
  this.expanded = false,
  this.radius = AppRadius.medium,
  this.backgroundColor,
  this.textColor,
  this.glow = true,
});