SystemNavigator class Null safety

Controls specific aspects of the system navigation stack.


hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.

Static Methods

pop({bool? animated}) Future<void>
Removes the topmost Flutter instance, presenting what was before it.
routeInformationUpdated({required String location, Object? state, bool replace = false}) Future<void>
Notifies the platform for a route information change.
routeUpdated({String? routeName, String? previousRouteName}) Future<void>
Notifies the platform of a route change, and selects single-entry history mode.
@Deprecated('Use routeInformationUpdated instead. ' 'This feature was deprecated after v2.3.0-1.0.pre.')
selectMultiEntryHistory() Future<void>
Selects the multiple-entry history mode.
selectSingleEntryHistory() Future<void>
Selects the single-entry history mode.