FHeaderAction.back constructor
FHeaderAction.back({
- required VoidCallback? onPress,
- FHeaderActionStyle? style,
- String? semanticsLabel,
- bool autofocus = false,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - ValueChanged<
bool> ? onHoverChange, - ValueChanged<
Set< ? onStateChange,WidgetState> > - VoidCallback? onLongPress,
- Key? key,
Creates a FHeaderAction with FIcons.arrowLeft
.
Implementation
factory FHeaderAction.back({
required VoidCallback? onPress,
FHeaderActionStyle? style,
String? semanticsLabel,
bool autofocus = false,
FocusNode? focusNode,
ValueChanged<bool>? onFocusChange,
ValueChanged<bool>? onHoverChange,
ValueChanged<Set<WidgetState>>? onStateChange,
VoidCallback? onLongPress,
Key? key,
}) => FHeaderAction(
icon: const Icon(FIcons.arrowLeft),
onPress: onPress,
style: style,
semanticsLabel: semanticsLabel,
autofocus: autofocus,
focusNode: focusNode,
onFocusChange: onFocusChange,
onHoverChange: onHoverChange,
onStateChange: onStateChange,
onLongPress: onLongPress,
key: key,
);