FHeaderAction constructor
const
FHeaderAction({
- required Widget icon,
- required VoidCallback? onPress,
- FHeaderActionStyle? style,
- String? semanticsLabel,
- bool selected = false,
- bool autofocus = false,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - ValueChanged<
bool> ? onHoverChange, - ValueChanged<
Set< ? onStateChange,WidgetState> > - VoidCallback? onLongPress,
- Key? key,
Creates a FHeaderAction from the given SVG icon
.
Implementation
const FHeaderAction({
required this.icon,
required this.onPress,
this.style,
this.semanticsLabel,
this.selected = false,
this.autofocus = false,
this.focusNode,
this.onFocusChange,
this.onHoverChange,
this.onStateChange,
this.onLongPress,
super.key,
});