AhsNavigator class

Inheritance

Constructors

AhsNavigator.getInstance()
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
hasListeners bool
Whether any listeners are currently registered. [...]
@protected, read-only, inherited
read-only
pages List<Page>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes. [...]
inherited
addOtherPageBeneath(Widget child, String pageName) → void
didPop(Page page, dynamic result) → void
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener and removeListener will throw after the object is disposed). [...]
override
initRootPage(Widget widget, String pageName) → void
isRootPage(Key key) bool
makeRootPage() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
notifyListeners() → void
Call all the registered listeners. [...]
pop() → void
pushPage(Widget widget, String pageName) → void
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes. [...]
inherited
replaceTopWith(Widget child) → void
returnLastNativePage(Map<String, dynamic> param) → void
/
returnWith(bool value) → void
toNative(Map<String, dynamic> param) → void
/跳转到native 相关
toString() String
A string representation of this object. [...]
inherited
waitForResult(Widget widget, String pageName) Future<bool>

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

of(BuildContext context) AhsNavigator