ScrollableDetails class Null safety

Describes the aspects of a Scrollable widget to inform inherited widgets like ScrollBehavior for decorating.

Decorations like GlowingOverscrollIndicators and Scrollbars require information about the Scrollable in order to be initialized.

Annotations

Constructors

ScrollableDetails({required AxisDirection direction, required ScrollController controller})
Creates a set of details describing the Scrollable. The direction cannot be null.
const

Properties

controller ScrollController
A ScrollController that can be used to control the position of the Scrollable widget. [...]
final
direction AxisDirection
The direction in which this widget scrolls. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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