NavkitRoute class
Annotation used to mark widgets for automatic route generation
When you annotate a widget class with NavkitRoute, the code generator
will automatically create route names for it in the NavkitRoutes class.
Example:
@NavkitRoute(isInitial: true)
class HomeScreen extends StatelessWidget { ... }
This will generate a route named / for HomeScreen.
Constructors
-
Creates a NavkitRoute annotation.
const
Properties
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