FHeaderAction constructor

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

Creates a FHeaderAction from the given SVG icon.

Implementation

const FHeaderAction({
  required this.icon,
  required this.onPress,
  this.style,
  this.semanticLabel,
  this.autofocus = false,
  this.focusNode,
  this.onFocusChange,
  this.onLongPress,
  super.key,
});