GradientButton constructor

const GradientButton({
  1. Key? key,
  2. required String label,
  3. IconData? icon,
  4. VoidCallback? onPressed,
  5. double height = 52,
  6. double borderRadius = 12,
})

Implementation

const GradientButton({
  super.key,
  required this.label,
  this.icon,
  this.onPressed,
  this.height = 52,
  this.borderRadius = 12,
});