OudsTopBarActionConfig.back constructor
- String? previousPageTitle,
- VoidCallback? onActionPressed,
- String? contentDescription,
Creates a configuration for a standard 'back' navigation action.
On iOS, an optional previousPageTitle can be displayed next to the back arrow.
Implementation
factory OudsTopBarActionConfig.back({
String? previousPageTitle,
VoidCallback? onActionPressed,
String? contentDescription,
}) {
return OudsTopBarActionConfig._(
type: OudsTopBarActionType.back,
previousPageTitle: previousPageTitle,
onActionPressed: onActionPressed,
contentDescription: contentDescription,
);
}