KeyboardScrollConfig class
Keyboard scrolling configuration
Constructors
- KeyboardScrollConfig({double arrowsScrollAmount = 200.0, Duration arrowsScrollDuration = const Duration(milliseconds: 200), double pageUpDownScrollAmount = 500.0, Duration pageUpDownScrollDuration = const Duration(milliseconds: 200), double spaceScrollAmount = 600.0, Duration spaceScrollDuration = const Duration(milliseconds: 200), Duration defaultHomeEndScrollDuration = const Duration(milliseconds: 500), Duration homeScrollDurationBuilder(double currentScrollOffset, double minScrollOffset)?, Duration endScrollDurationBuilder(double currentScrollOffset, double maxScrollOffset)?, Curve scrollCurve = Curves.easeOutCubic})
-
Default values
const
Properties
- arrowsScrollAmount → double
-
Amount to scroll when pressing arrow keys
final
- arrowsScrollDuration → Duration
-
Duration to reach the new scroll position when using arrow keys
final
- defaultHomeEndScrollDuration → Duration
-
Default duration for home and end scrolling
final
- endScrollDurationBuilder → (Duration Function(double currentScrollOffset, double maxScrollOffset)?)
-
Compute duration to reach the end of the scroll view
based on where the scroll offset is right now
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- homeScrollDurationBuilder → (Duration Function(double currentScrollOffset, double minScrollOffset)?)
-
Compute duration to reach the start of the scroll view
based on where the scroll offset is right now
final
- pageUpDownScrollAmount → double
-
Amount to scroll when pressing page up/down
final
- pageUpDownScrollDuration → Duration
-
Duration to reach the new scroll position when using page up/down
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollCurve → Curve
-
Scroll curve
final
- spaceScrollAmount → double
-
Amount to scroll when pressing space
final
- spaceScrollDuration → Duration
-
Duration to reach the new scroll position when using space
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