icon property

IconData? icon
final

The icon to display in the button.

Mutually exclusive with child. Use the default constructor for icon buttons, or GlassButton.custom for custom content.

Implementation

final IconData? icon;