GlassBotton constructor

GlassBotton({
  1. required Widget child,
  2. AlignmentGeometry alignment = Alignment.topLeft,
  3. required Function onTap,
  4. Function? onDoubleTap,
  5. Function? onLongPress,
  6. double height = 50,
  7. double colorOpacity = 0.2,
  8. BoxBorder? border,
  9. BorderRadius? borderRadius,
  10. EdgeInsetsGeometry? padding,
  11. double width = 50,
  12. double blurStrengthX = 10,
  13. double blurStrengthY = 10,
  14. Color color = Colors.transparent,
})

Implementation

GlassBotton({
  required this.child,
  this.alignment = Alignment.topLeft,
  required this.onTap,
  this.onDoubleTap,
  this.onLongPress,
  this.height = 50,
  this.colorOpacity = 0.2,
  this.border,
  this.borderRadius,
  this.padding,
  this.width = 50,
  this.blurStrengthX = 10,
  this.blurStrengthY = 10,
  this.color = Colors.transparent,
});