FHeaderAction.x constructor
FHeaderAction.x({
- required VoidCallback? onPress,
- FHeaderActionStyle? style,
- bool autofocus = false,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - Key? key,
Creates a FHeaderAction with FAssets.icons.x
.
Implementation
factory FHeaderAction.x({
required VoidCallback? onPress,
FHeaderActionStyle? style,
bool autofocus = false,
FocusNode? focusNode,
ValueChanged<bool>? onFocusChange,
Key? key,
}) =>
FHeaderAction(
icon: FIcon(FAssets.icons.x),
onPress: onPress,
style: style,
autofocus: autofocus,
focusNode: focusNode,
onFocusChange: onFocusChange,
key: key,
);