EasyApp class

Constructors

EasyApp()

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

currentScreen BaseScreen
The current screen of MainScreen.
no setter
localPath String
The path to the local application directory.
getter/setter pair

Static Methods

initialize({bool activateConnectionChecker = true, List<String> languages = const ["en_US"], required BaseScreen homeScreen, ConnectivityResult minimumNetworkLevel = ConnectivityResult.mobile}) Future<void>
Initializes EasyApp. You must call this before running the app.
initializePath() Future<void>
Initializes the path for the app. This is only necessary if the HomeScreen requires access to the local path, or config files.
popPage(BuildContext context) → void
Pops the current screen. And returns to the previous screen.
pushPage(BuildContext context, BaseScreen screen) → void
Pushes a screen to the stack.
setMinimumNetworkLevel(ConnectivityResult level) → void
Sets the minimum network level for the app.