FHeaderAction constructor

const FHeaderAction({
  1. required Widget icon,
  2. required VoidCallback? onPress,
  3. VoidCallback? onLongPress,
  4. FHeaderActionStyle? style,
  5. String? semanticLabel,
  6. Key? key,
})

Creates a FHeaderAction from the given SVG icon.

Implementation

const FHeaderAction({
  required this.icon,
  required this.onPress,
  this.onLongPress,
  this.style,
  this.semanticLabel,
  super.key,
});