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, Clip? clipBehavior})
Creates a set of details describing the Scrollable. The direction cannot be null.
const

Properties

clipBehavior Clip?
The content will be clipped (or not) according to this option.
final
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-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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