MiuixGlassIconButton constructor

const MiuixGlassIconButton({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. required Widget child,
  4. MiuixBackdrop? backdrop,
  5. MiuixGlassPopupAnchor? anchor,
  6. MiuixGlassStyle? style,
  7. double? size,
  8. MiuixGlassShape? shape,
  9. double surfaceAlpha = 1,
  10. Color? fill,
  11. MiuixGlassStroke? stroke,
  12. MiuixGlassShadow? shadow = MiuixGlassShadows.regular,
  13. String? semanticLabel,
  14. String? tooltip,
})

Implementation

const MiuixGlassIconButton({
  super.key,
  required this.onPressed,
  required this.child,
  this.backdrop,
  this.anchor,
  this.style,
  this.size,
  this.shape,
  this.surfaceAlpha = 1,
  this.fill,
  this.stroke,
  this.shadow = MiuixGlassShadows.regular,
  this.semanticLabel,
  this.tooltip,
});