LoaderState enum Null safety

State of the loader in its lifecycle: init -> loading <-> error or loaded

Inheritance

Constructors

LoaderState()
const

Values

init → const LoaderState

The default state of the loader

LoaderState()
loading → const LoaderState

The loader is loading

LoaderState()
error → const LoaderState

There has been an error while loading the resource

LoaderState()
loaded → const LoaderState

The resource has been loaded

LoaderState()

Properties

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

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

Constants

values → const List<LoaderState>
A constant List of the values in this enum, in order of their declaration.
[init, loading, error, loaded]