ScrollPhase enum

Defines the state of an object in the context of its associated scroll view. This mainly indicates whether the object is visible in the scroll view or is either leaving or entering the scroll view.

Inheritance

Constructors

ScrollPhase()
const

Values

topLeading → const ScrollPhase

The object is leaving the top/left edge of the scroll view.

identity → const ScrollPhase

The object is fully visible in the scroll view.

bottomTrailing → const ScrollPhase

The object is leaving the bottom/right edge of the scroll view.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isBottomTrailing bool
A convenience method that returns true if the phase is ScrollPhase.bottomTrailing.
no setter
isIdentity bool
A convenience method that returns true if the phase is ScrollPhase.identity.
no setter
isTopLeading bool
A convenience method that returns true if the phase is ScrollPhase.topLeading.
no setter
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<ScrollPhase>
A constant List of the values in this enum, in order of their declaration.