Skip to main content

ViewState enum

<p>This file contains different enums. The enum keyword is used to define an enumeration type in Dart. The use case of enumeration is to store finite data members under the same type definition. Represents the state of the view</p>

Inheritance

Constructors

ViewState ()

const

Values

idle const ViewState
busy const ViewState

Properties

hashCodeint

The hash code for this object.
<span class="feature">read-only</span><span class="feature">inherited</span>

indexint

A numeric identifier for the enumerated value.
<span class="feature">read-only</span><span class="feature">inherited</span>

runtimeTypeType

A representation of the runtime type of the object.
<span class="feature">read-only</span><span class="feature">inherited</span>

Methods

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
<span class="feature">inherited</span>

toString() String

A string representation of this object.
<span class="feature">inherited</span>

Operators

operator ==(Object other) bool

The equality operator.
<span class="feature">inherited</span>

Constants

values const List<ViewState>

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