FHeaderAction.back constructor

FHeaderAction.back({
  1. required VoidCallback? onPress,
  2. FHeaderActionStyle? style,
  3. String? semanticsLabel,
  4. bool autofocus = false,
  5. FocusNode? focusNode,
  6. ValueChanged<bool>? onFocusChange,
  7. ValueChanged<bool>? onHoverChange,
  8. ValueChanged<Set<WidgetState>>? onStateChange,
  9. VoidCallback? onLongPress,
  10. 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,
);