InspectorButton.filled constructor
- Key? key,
- required VoidCallback onPressed,
- required String semanticLabel,
- required IconData icon,
- GlobalKey<
State< ? buttonKey,StatefulWidget> >
Creates an inspector button with the InspectorButtonVariant.filled style.
This button typically has a solid background color and a contrasting icon.
Implementation
const InspectorButton.filled({
super.key,
required this.onPressed,
required this.semanticLabel,
required this.icon,
this.buttonKey,
}) : variant = InspectorButtonVariant.filled,
toggledOn = null;