CurrentStateNative class

It manages the state on native devices

Inheritance

Constructors

CurrentStateNative()

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

buildArgs(Map<String, String> args) String
It builds the args string from a dictionary
override
configureApp() → void
Configure app url strategy
override
currentPath() String?
It gets the current path
override
findSubDomain(String protocol, String currentDomain) String?
It retrieves the current subDomain
override
getArgs() Map<String, String>
It gets the args from the current web location
override
getCurrentDomain() String?
It gets the current domain
override
getCurrentOrigin() String
It retrieves the current origin for the current location
override
getFullPath() String
It retrieves the full path of the current location
override
getSubDomain() String?
It gets the sub domain
override
globalCallMethod(String method, List args) → void
call global method on current device with custom args
override
goBack(BuildContext context) → void
It goes back to the previous page
override
goToScreen(String screenName, BuildContext context, Map<String, String>? args) → void
It goes to another screen with optionally custom args
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openExternalUrl(String newUrl) → void
Open external url
override
openScreen(String newUrl) → void
It goes to another screen reloading the page
override
pushHistoryState(String screenName, String args) → void
It pushes the history paths state
override
removeQueryArgs() → void
It cleans the query args from the current url
override
toString() String
A string representation of this object.
inherited

Operators

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