BaseController class abstract

Nylo's base controller class

Constructors

BaseController({BuildContext? context, NyRequest? request})

Properties

context BuildContext?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
request NyRequest?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

construct(BuildContext context) → dynamic
Initialize your controller with this method. It contains same BuildContext as the NyStatefulWidget.
data() → dynamic
Returns any data passed through a Navigator or routeTo method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryParameters() → dynamic
Returns any query parameters passed in a route e.g. /my-page?hello=world Result {"hello": "world"}
toString() String
A string representation of this object.
inherited

Operators

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