Lifecycle enum

Inheritance
Available extensions

Values

registered → const Lifecycle

This event is triggered when the DependencyInjection registers the dependency.

initialized → const Lifecycle

This event is triggered when the DependencyInjection initializes the dependency.

created → const Lifecycle

This event is triggered when the DependencyInjection created the dependency instance.

willMount → const Lifecycle

This event(exclusive to flutter_reactter) happens when the dependency is going to be mounted in the widget tree.

didMount → const Lifecycle

This event(exclusive to flutter_reactter) happens after the dependency has been successfully mounted in the widget tree.

willUpdate → const Lifecycle

This event is triggered anytime the dependency's state is about to be updated. The event parameter is a StateBase.

didUpdate → const Lifecycle

This event is triggered anytime the dependency's state has been updated. The event parameter is a StateBase.

willUnmount → const Lifecycle

This event(exclusive to flutter_reactter) happens when the dependency is going to be unmounted from the widget tree.

didUnmount → const Lifecycle

This event(exclusive to flutter_reactter) happens when the dependency has been successfully unmounted from the widget tree.

destroyed → const Lifecycle

This event is triggered when the DependencyInjection destroys the dependency.

deleted → const Lifecycle

This event is triggered when the DependencyInjection destroys the dependency instance.

unregistered → const Lifecycle

This event is triggered when the DependencyInjection unregisters the dependency.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<Lifecycle>
A constant List of the values in this enum, in order of their declaration.