FHeaderAction.back constructor

FHeaderAction.back({
  1. required VoidCallback? onPress,
  2. FHeaderActionStyle? style,
  3. String? semanticLabel,
  4. Key? key,
})

Creates a FHeaderAction with FAssets.icons.arrowLeft.

Implementation

factory FHeaderAction.back({
  required VoidCallback? onPress,
  FHeaderActionStyle? style,
  String? semanticLabel,
  Key? key,
}) =>
    FHeaderAction(
      icon: FIcon(FAssets.icons.arrowLeft),
      onPress: onPress,
      style: style,
      semanticLabel: semanticLabel,
      key: key,
    );