ScrollSpec class

Defines the scroll effects, physics and more.

Constructors

ScrollSpec({bool overscroll = true, Color? overscrollColor, ScrollPhysics? physics, bool showScrollbar = false})
Creates an object that defines the scroll effects, physics and more.
const
ScrollSpec.bouncingScroll()
Creates an iOS bouncing scroll effect.
const
ScrollSpec.overscroll({Color? color})
Creates an overscroll effect with the given color.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
overscroll bool
Whether the containing ScrollView should overscroll.
final
overscrollColor Color?
The color of the overscroll when overscroll is true.
final
physics ScrollPhysics?
The physics of the containing ScrollView.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showScrollbar bool
Whether to wrap the scrollable content inside a Scrollbar widget.
final

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 o) bool
The equality operator.
override