FHeaderAction.back constructor

FHeaderAction.back({
  1. required VoidCallback? onPress,
  2. FHeaderActionStyle? style,
  3. String? semanticLabel,
  4. bool autofocus = false,
  5. FocusNode? focusNode,
  6. ValueChanged<bool>? onFocusChange,
  7. Key? key,
})

Creates a FHeaderAction with FAssets.icons.arrowLeft.

Implementation

factory FHeaderAction.back({
  required VoidCallback? onPress,
  FHeaderActionStyle? style,
  String? semanticLabel,
  bool autofocus = false,
  FocusNode? focusNode,
  ValueChanged<bool>? onFocusChange,
  Key? key,
}) =>
    FHeaderAction(
      icon: FIcon(FAssets.icons.arrowLeft),
      onPress: onPress,
      style: style,
      semanticLabel: semanticLabel,
      autofocus: autofocus,
      focusNode: focusNode,
      onFocusChange: onFocusChange,
      key: key,
    );