FHeaderAction constructor
const
FHeaderAction({
- required Widget icon,
- required VoidCallback? onPress,
- VoidCallback? onLongPress,
- FHeaderActionStyle? style,
- String? semanticLabel,
- 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,
});