navigateTo<T extends Object?> abstract method

Future<T?> navigateTo<T extends Object?>({
  1. required String location,
  2. Object? arguments,
  3. List<Destination>? history,
})

Navigate to the following location.

location to navigate to. Must be unique in the current navigation stack.

arguments to pass at the location.

Implementation

Future<T?> navigateTo<T extends Object?>({
  required final String location,
  final Object? arguments,
  final List<Destination>? history,
});