instance_manager library
Jet Instance Manager is a modern and intelligent dependency injector that injects and removes dependencies seasonally.
Classes
- Bindings
-
Bindings should be extended or implemented.
When using
JetMaterialApp, allJetPages and navigation methods (like Jet.to()) have abindingproperty that takes an instance of Bindings to manage the dependencies() (via Jet.put()) for the Route you are opening. -
BindingsInterface<
T> - Engine
- InstanceInfo
- JetInterface
- JetInterface allows any auxiliary package to be merged into the "Jet" class through extensions
- JetxService
- Unlike JetxController, which serves to control events on each of its pages, JetxService is not automatically disposed (nor can be removed with Jet.delete()). It is ideal for situations where, once started, that service will remain in memory, such as Auth control for example. Only way to remove it is Jet.reset().
Enums
- SmartManagement
- Defines how JetX manages the lifecycle and disposal of controllers and dependencies.
Mixins
- JetLifeCycleMixin
-
The
GetLifeCycle - JetxServiceMixin
- Allow track difference between JetxServices and JetxControllers
Extensions
Properties
- Jet → _JetImpl
-
final
Functions
-
defaultLogWriterCallback(
String value, {bool isError = false}) → void - default logger from JetX
Typedefs
-
AsyncInstanceBuilderCallback<
S> = Future< S> Function() - BindingBuilderCallback = void Function()
-
InstanceBuilderCallback<
S> = S Function() -
InstanceCreateBuilderCallback<
S> = S Function(BuildContext _) - LogWriterCallback = void Function(String text, {bool isError})
- VoidCallback from logs
-
ValueUpdater<
T> = T Function()