GlassIconButton constructor
const
GlassIconButton({
- required IconData icon,
- required VoidCallback? onPressed,
- Key? key,
- double size = 44,
- double? iconSize,
- GlassIconButtonShape shape = GlassIconButtonShape.circle,
- double borderRadius = 12,
- Color? glowColor,
- double glowRadius = 20,
- double interactionScale = 0.95,
- bool useOwnLayer = false,
- LiquidGlassSettings? settings,
- GlassQuality quality = GlassQuality.standard,
Creates a glass icon button.
Implementation
const GlassIconButton({
required this.icon,
required this.onPressed,
super.key,
this.size = 44,
this.iconSize,
this.shape = GlassIconButtonShape.circle,
this.borderRadius = 12,
this.glowColor,
this.glowRadius = 20,
this.interactionScale = 0.95,
this.useOwnLayer = false,
this.settings,
this.quality = GlassQuality.standard,
});