Lifecycle enum

Inheritance

Constructors

Lifecycle()
const

Values

registered → const Lifecycle

Event when the instance has registered by ReactterInstanceManager.

unregistered → const Lifecycle

Event when the instance has unregistered by ReactterInstanceManager.

initialized → const Lifecycle

Event when the instance has inicialized by ReactterInstanceManager.

willMount → const Lifecycle

Event when the instance will be mount in the widget tree (only it use with flutter_reactter).

didMount → const Lifecycle

Event when the instance did be mount in the widget tree (only it use with flutter_reactter).

willUpdate → const Lifecycle

Event when any instance's hooks will be update. Event param is a ReactterHook.

didUpdate → const Lifecycle

Event when any instance's hooks did be update. Event param is a ReactterHook.

willUnmount → const Lifecycle

Event when the instance will be unmount in the widget tree (only it use with flutter_reactter).

destroyed → const Lifecycle

Event when the instance did be destroyed by ReactterInstanceManager.

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.