MaterialScrollBar class

Inheritance

Constructors

MaterialScrollBar({required Widget child, double? thickness, bool? thumbVisibility, Radius? radius, required Color trackColor, required Color thumbColor, double? thumbSize, Key? key})
const

Properties

child Widget
The widget below this widget in the tree.
finalinherited
controller ScrollController?
The ScrollController used to implement Scrollbar dragging.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
interactive bool?
Whether the Scrollbar should be interactive and respond to dragging on the thumb, or tapping in the track area.
finalinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
notificationPredicate ScrollNotificationPredicate?
A check that specifies whether a ScrollNotification should be handled by this widget.
finalinherited
radius Radius?
The Radius of the scrollbar thumb's rounded rectangle corners.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollbarOrientation ScrollbarOrientation?
Dictates the orientation of the scrollbar.
finalinherited
thickness double?
The thickness of the scrollbar in the cross axis of the scrollable.
finalinherited
thumbColor Color
thumbColor is the moving part of the scrollbar, which usually floats on top of the track.
final
thumbSize double?
userThumbSize is the size of the thumb in scrollbar, which is the moving part of the scrollbar
final
thumbVisibility bool?
Indicates that the scrollbar thumb should be visible, even when a scroll is not underway.
finalinherited
trackColor Color
trackColor is the empty space “below” the progress bar.
final
trackVisibility bool?
Indicates that the scrollbar track should be visible.
finalinherited

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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