LoopActivationMode enum

Enum that represents the different modes of activating the infinite loop in the LoopPageView.

The modes are:

  • immediate: Infinite loop is enabled from the start. As soon as the LoopPageView is loaded, the user can scroll infinitely in both directions.

  • afterFirstLoop: The infinite loop is only enabled after the first loop through all pages. Initially, the user can scroll through the pages in normal sequence. Once the user reaches the end and loops back to the first page, infinite scrolling is enabled.

  • forwardOnly: Infinite scrolling is only enabled in the forward direction. The user can scroll forward through the pages indefinitely, but cannot scroll backwards past the first page.

Inheritance

Constructors

LoopActivationMode()
const

Values

immediate → const LoopActivationMode
afterFirstLoop → const LoopActivationMode
forwardOnly → const LoopActivationMode

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<LoopActivationMode>
A constant List of the values in this enum, in order of their declaration.