ScrollIncrementType enum
Describes the type of scroll increment that will be performed by a ScrollAction on a Scrollable.
This is used to configure a ScrollIncrementDetails object to pass to a ScrollIncrementCalculator function on a Scrollable.
This indicates the intent of the scroll, not necessarily the size. Not all scrollable areas will have the concept of a "line" or "page", but they can respond to the different standard key bindings that cause scrolling, which are bound to keys that people use to indicate a "line" scroll (e.g. control-arrowDown keys) or a "page" scroll (e.g. pageDown key). It is recommended that at least the relative magnitudes of the scrolls match expectations.
Values
- line → const ScrollIncrementType
-
Indicates that the ScrollIncrementCalculator should return the scroll distance it should move when the user requests to scroll by a "line".
The distance a "line" scrolls refers to what should happen when the key binding for "scroll down/up by a line" is triggered. It's up to the ScrollIncrementCalculator function to decide what that means for a particular scrollable.
- page → const ScrollIncrementType
-
Indicates that the ScrollIncrementCalculator should return the scroll distance it should move when the user requests to scroll by a "page".
The distance a "page" scrolls refers to what should happen when the key binding for "scroll down/up by a page" is triggered. It's up to the ScrollIncrementCalculator function to decide what that means for a particular scrollable.
Properties
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<
ScrollIncrementType> - A constant List of the values in this enum, in order of their declaration.