FHeaderAction constructor

const FHeaderAction({
  1. required Widget icon,
  2. required VoidCallback? onPress,
  3. FHeaderActionStyle? style,
  4. String? semanticsLabel,
  5. bool selected = false,
  6. bool autofocus = false,
  7. FocusNode? focusNode,
  8. ValueChanged<bool>? onFocusChange,
  9. ValueChanged<bool>? onHoverChange,
  10. ValueChanged<Set<WidgetState>>? onStateChange,
  11. VoidCallback? onLongPress,
  12. Key? key,
})

Creates a FHeaderAction from the given SVG icon.

Implementation

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