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<FWidgetStatesDelta>? onStateChange,
  9. VoidCallback? onLongPress,
  10. VoidCallback? onSecondaryPress,
  11. VoidCallback? onSecondaryLongPress,
  12. Map<ShortcutActivator, Intent>? shortcuts,
  13. Map<Type, Action<Intent>>? actions,
  14. 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<FWidgetStatesDelta>? onStateChange,
  VoidCallback? onLongPress,
  VoidCallback? onSecondaryPress,
  VoidCallback? onSecondaryLongPress,
  Map<ShortcutActivator, Intent>? shortcuts,
  Map<Type, Action<Intent>>? actions,
  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,
  onSecondaryPress: onSecondaryPress,
  onSecondaryLongPress: onSecondaryLongPress,
  shortcuts: shortcuts,
  actions: actions,
  key: key,
);