MMBScrollConfig class
Middle mouse button scrolling configuration
Constructors
- MMBScrollConfig({CustomScrollCursor? customScrollCursor, double idleCursorAreaSize = 30.0, Duration autoScrollDelay = Duration.zero, double velocityBackpropagationPercent = 30.0 / 100.0, double decelerationForce = 500.0})
-
Default values
const
Properties
- autoScrollDelay → Duration
-
The delay between sequential auto scrolls.
final
- customScrollCursor → CustomScrollCursor?
-
Custom cursor specified by the user
final
- decelerationForce → double
-
Amount of friction
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idleCursorAreaSize → double
-
Size of the area where the cursor changes to idle
This gets split in half (one half up, one half down)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- velocityBackpropagationPercent → double
-
Percent of how much speed to extract from the
last scrolling's velocity and add to the next velocity
final
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