GlassButton constructor

const GlassButton({
  1. Key? key,
  2. required String label,
  3. VoidCallback? onPressed,
  4. IconData? icon,
  5. double blur = 12.0,
  6. Color? tintColor,
  7. double opacity = 0.12,
  8. double height = 48.0,
  9. double? width,
  10. bool expanded = false,
  11. double radius = AppRadius.medium,
  12. Color? borderColor,
  13. Color? textColor,
})

Implementation

const GlassButton({
  super.key,
  required this.label,
  this.onPressed,
  this.icon,
  this.blur = 12.0,
  this.tintColor,
  this.opacity = 0.12,
  this.height = 48.0,
  this.width,
  this.expanded = false,
  this.radius = AppRadius.medium,
  this.borderColor,
  this.textColor,
});