FHeaderAction.x constructor
FHeaderAction.x({
- required VoidCallback? onPress,
- FHeaderActionStyle? style,
- Key? key,
Creates a FHeaderAction with FAssets.icons.x
.
Implementation
factory FHeaderAction.x({
required VoidCallback? onPress,
FHeaderActionStyle? style,
Key? key,
}) =>
FHeaderAction(
icon: FIcon(FAssets.icons.x),
onPress: onPress,
style: style,
key: key,
);