StateLifecycle enum Null safety

Extracted from State class

Inheritance

Constants

created → const StateLifecycle

The State object has been created. State.initState is called at this time.

const StateLifecycle(0)
defunct → const StateLifecycle

The State.dispose method has been called and the State object is no longer able to build.

const StateLifecycle(3)
initialized → const StateLifecycle

The State.initState method has been called but the State object is not yet ready to build. State.didChangeDependencies is called at this time.

const StateLifecycle(1)
ready → const StateLifecycle

The State object is ready to build and State.dispose has not yet been called.

const StateLifecycle(2)
values → const List<StateLifecycle>

A constant List of the values in this enum, in order of their declaration.

const List<StateLifecycle>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int
A numeric identifier for the enumerated value. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited