Fluent2ShellAction constructor
Fluent2ShellAction({
- required IconData icon,
- required void onPressed(
- BuildContext context
- String? label,
- bool accent = false,
- Key? key,
The act: icon, label when extended, onPressed with the context.
Implementation
// Not const: ui_core's ShellAction still carries its old name's fallback, so its constructor is not.
// ignore: prefer_const_constructors_in_immutables
Fluent2ShellAction({
required super.icon,
required super.onPressed,
super.label,
super.accent,
super.key,
});