SystemNavigator class Null safety

Controls specific aspects of the system navigation stack.

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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

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.')">@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.