CustomScrollPhysicsController class

The controller of CustomScrollPhysics, which determines the physics of Scrollable.

Constructors

CustomScrollPhysicsController({bool disableScrollMore = false, bool disableScrollLess = false})

Properties

disableScrollLess bool
The flag to disable scrolling less (or said, scroll left/up or swipe right/down), even if current offset lands on the middle of items, defaults to false.
getter/setter pair
disableScrollMore bool
The flag to disable scrolling more (or said, scroll right/down or swipe left/up), even if current offset lands on the middle of items, defaults to false.
getter/setter pair
hashCode int
The hash code for this object.
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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited