Tracker class abstract
Constructors
- Tracker(AutoInjector injector)
-
factory
Properties
- arguments → ModularArguments
-
no setter
- currentPath → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- injector → AutoInjector
-
Service Injector instancia
no setter
- module → Module
-
Initial Module
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bindModule(
Module module, [String? tag]) → void -
Add a Module to Injection System.
Use Tracker.unbindModule to remove registers; -
dispose<
B> () → bool - dispose instance
-
findRoute(
String path, {dynamic data, String schema = ''}) → FutureOr< ModularRoute?> - Searches for a route by name or context throughout the tree.
-
finishApp(
) → void - Finishes all trees.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reportPopRoute(
ModularRoute route) → void - Reports whether a route will leave the route context. This is important to call automatic dispose of the entire context.
-
reportPushRoute(
ModularRoute route) → void - It informs you that a new route has been found and that it needs its dependent BindContexts started as well.
-
runApp(
Module module, [String initialRoutePath = '/']) → void - Responsible for starting the app. It should only be called once, but it should be the first method to be called before a route or bind lookup.
-
setArguments(
ModularArguments arguments) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unbindModule(
String moduleName) → void - Remove registers manually;
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited