Lifecycle enum

Inheritance

Constructors

Lifecycle()
const

Values

registered → const Lifecycle

This event is triggered when the InstanceManager registers the instance.

unregistered → const Lifecycle

This event is triggered when the InstanceManager unregisters the instance.

initialized → const Lifecycle

This event is triggered when the InstanceManager initializes the instance.

willMount → const Lifecycle

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

didMount → const Lifecycle

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

willUpdate → const Lifecycle

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

didUpdate → const Lifecycle

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

willUnmount → const Lifecycle

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

didUnmount → const Lifecycle

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

destroyed → const Lifecycle

This event is triggered when the InstanceManager destroys the instance.

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.