ScrollPhysicsC enum
Represents the physics for scrolling on scrollable nodes like list view.
Corresponds to ScrollPhysics
in Flutter.
Values
- platformDependent → const ScrollPhysicsC
-
Scroll physics that always lets the user scroll.
This overrides the default behavior which is to disable scrolling there is no content to scroll. It does not override the handling of over-scrolling.
On Android, over-scrolls will be clamped by default and result in an overscroll glow. On iOS, over-scrolls will load a spring that will return the scroll view to its normal range when released.
See
AlwaysScrollableScrollPhysics
in Flutter for more details. - bouncingScrollPhysics → const ScrollPhysicsC
-
Scroll physics for environments that allow the scroll offset to go beyond the bounds of the content, but then bounce the content back to the edge of those bounds.
This is the behavior typically seen on iOS.
BouncingScrollPhysics
by itself will not create an overscroll effect if the contents of the scroll view do not extend beyond the size of the viewport.See
BouncingScrollPhysics
in Flutter for more details. - clampingScrollPhysics → const ScrollPhysicsC
-
Scroll physics for environments that prevent the scroll offset from reaching beyond the bounds of the content.
See
ClampingScrollPhysics
in Flutter for more details. - neverScrollableScrollPhysics → const ScrollPhysicsC
-
Scroll physics that does not allow the user to scroll.
- rangeMaintainingScrollPhysics → const ScrollPhysicsC
-
Scroll physics that attempt to keep the scroll position in range when the contents change dimensions suddenly.
See
RangeMaintainingScrollPhysics
in Flutter for more details.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - prettify → String
-
Displayable string representation of ScrollPhysicsC.
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<
ScrollPhysicsC> - A constant List of the values in this enum, in order of their declaration.