OudsTopBarActionConfig.close constructor
- String? actionLabel,
- VoidCallback? onActionPressed,
- String? contentDescription,
Creates a configuration for a close action.
Implementation
factory OudsTopBarActionConfig.close({
String? actionLabel,
VoidCallback? onActionPressed,
String? contentDescription,
}) {
return OudsTopBarActionConfig._(
type: OudsTopBarActionType.close,
onActionPressed: onActionPressed,
contentDescription: contentDescription,
);
}