goNamed abstract method
Navigates to a named route by replacing the current one. Supports optional path parameters and extra data.
Implementation
Future<void> goNamed(
BuildContext context,
String name, {
Map<String, String>? params,
Object? extra,
});