InspectorButton.iconOnly constructor
- Key? key,
- required VoidCallback onPressed,
- required String semanticLabel,
- required IconData icon,
Creates an inspector button with the InspectorButtonVariant.iconOnly style.
This button typically displays only an icon with a transparent background.
Implementation
const InspectorButton.iconOnly({
super.key,
required this.onPressed,
required this.semanticLabel,
required this.icon,
}) : buttonKey = null,
variant = InspectorButtonVariant.iconOnly,
toggledOn = null;