Nylo class

Constructors

Nylo({NyRouter? router})

Properties

appLoader Widget
getter/setter pair
getter/setter pair
appThemes List<BaseThemeConfig>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
initialRoute String
getter/setter pair
router NyRouter?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEvents(Map<Type, NyEvent> events) → dynamic
Add events to Nylo
addRouter(NyRouter router) → dynamic
Allows you to add additional Router's to your project.
getEvents() Map<Type, NyEvent>
Return all the registered events.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
use(NyPlugin plugin) → dynamic
Assign a NyPlugin to add extra functionality to your app from a plugin. e.g. from main.dart Nylo.use(CustomPlugin());

Operators

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

Static Methods

init({Function? setup, dynamic setupFinished(Nylo nylo)?}) Future<Nylo>
Initialize Nylo