FusionNavigator class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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 Properties

context BuildContext?
no setter
no setter

Static Methods

maybePop<T extends Object?>([T? result]) Future<bool>
Pop in the current container. Can be used with WillPopScope.
pop<T extends Object?>([T? result]) Future<void>
Pop in the current container.
push<T extends Object?>(String routeName, {Map<String, dynamic>? routeArgs, FusionRouteType routeType = FusionRouteType.adaption}) Future<T?>
Push a new page.
remove(String routeName) Future<void>
Remove a designated flutter page in all containers.
replace<T extends Object?>(String routeName, [Map<String, dynamic>? routeArgs, bool animated = false]) Future<T?>
Replace a designated flutter page with a new flutter page in the current container.
sendMessage(String name, {Map<String, dynamic>? body, FusionNotificationType type = FusionNotificationType.global}) → void
Send a message to flutter side and native side.