NavigatorChannel class
与原生路由交互渠道
1.getArguments
from native when open a Flutter page.
Constructors
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
-
arguments
→ Future<
InitArgument> -
no setter
- channel → MethodChannel
-
no setter
- url → Future
-
no setter
Static Methods
-
findPopTarget(
) → Future< String> -
initDataModel(
String key) → Future< Map< String, dynamic> ?> - model in Flutter should init when flutter start,
-
invokeMethod(
String key, [dynamic value]) → Future -
pop(
String pageName, [dynamic result]) → Future -
popUntil(
String pageName, [dynamic result]) → Future -
pushNamed(
String pageName, [dynamic data]) → Future -
syncDataModel(
Map< String, Object> map) → Future - when model be changed in flutter, sync to native
-
syncFlutterStack(
String pageName) → Future