InspectorButton constructor
- Key? key,
- required VoidCallback onPressed,
- required String semanticLabel,
- required IconData icon,
- GlobalKey<
State< ? buttonKey,StatefulWidget> > - required InspectorButtonVariant variant,
- bool? toggledOn,
Creates an inspector button.
This is the base constructor used by named constructors.
Implementation
const InspectorButton({
super.key,
required this.onPressed,
required this.semanticLabel,
required this.icon,
this.buttonKey,
required this.variant,
this.toggledOn,
});