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