GlassButton constructor

const GlassButton({
  1. Key? key,
  2. double? radius,
  3. double? border,
  4. double? blur,
  5. LinearGradient? linearGradient,
  6. LinearGradient? borderGradient,
  7. BorderRadius? borderRadius,
  8. Widget? child,
  9. required void onPressed(),
  10. void onLongPressed()?,
})

Implementation

const GlassButton({
  Key? key,
  this.radius,
  this.border,
  this.blur,
  this.linearGradient,
  this.borderGradient,
  this.borderRadius,
  this.child,
  required this.onPressed,
  this.onLongPressed,
}) : super(key: key);