AIGradientButton constructor

const AIGradientButton({
  1. Key? key,
  2. required String label,
  3. required VoidCallback onPressed,
  4. IconData? icon,
  5. double width = double.infinity,
  6. double height = 54,
})

Implementation

const AIGradientButton({
  Key? key,
  required this.label,
  required this.onPressed,
  this.icon,
  this.width = double.infinity,
  this.height = 54,
}) : super(key: key);