MaterialScrollbarData class final

Material-specific configuration for a platform scrollbar.

Maps to properties of Scrollbar on Android.

Constructors

MaterialScrollbarData({Key? widgetKey, Widget? child, ScrollController? controller, bool? thumbVisibility, double? thickness, Radius? radius, ScrollbarOrientation? scrollbarOrientation, bool? trackVisibility, ScrollNotificationPredicate? notificationPredicate, bool? interactive})
Creates Material-specific scrollbar configuration.
const

Properties

child Widget?
The widget below this widget in the tree.
finalinherited
controller ScrollController?
The scroll controller that the scrollbar should listen to.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
interactive bool?
Whether the scrollbar is interactive (can be dragged).
final
notificationPredicate ScrollNotificationPredicate?
A predicate to filter scroll notifications.
finalinherited
radius Radius?
The radius of the scrollbar thumb's corners.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollbarOrientation ScrollbarOrientation?
The orientation of the scrollbar.
finalinherited
thickness double?
The thickness of the scrollbar thumb.
finalinherited
thumbVisibility bool?
Whether the scrollbar thumb should be visible.
finalinherited
trackVisibility bool?
Whether the scrollbar track is visible.
final
widgetKey Key?
A key to identify the widget.
finalinherited

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