OudsTopBarActionConfig.text constructor
- required String actionLabel,
- VoidCallback? onActionPressed,
- String? contentDescription,
Creates a configuration for a text-based action.
This is primarily intended for use on iOS, following Cupertino design guidelines.
Implementation
factory OudsTopBarActionConfig.text({
required String actionLabel,
VoidCallback? onActionPressed,
String? contentDescription,
}) {
return OudsTopBarActionConfig._(
type: OudsTopBarActionType.text,
actionLabel: actionLabel,
onActionPressed: onActionPressed,
contentDescription: contentDescription,
);
}