ScrollbarThemeData class

Mixed in types
Annotations

Constructors

ScrollbarThemeData({double? thickness, double? hoveringThickness, Color? backgroundColor, Color? scrollbarColor, Color? scrollbarPressingColor, Radius? radius, Radius? hoveringRadius, double? mainAxisMargin, double? hoveringMainAxisMargin, double? crossAxisMargin, double? hoveringCrossAxisMargin, double? minThumbLength, Color? trackBorderColor, Color? hoveringTrackBorderColor, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? hoveringPadding, Duration? expandContractAnimationDuration, Duration? contractDelay})
const
ScrollbarThemeData.standard(FluentThemeData theme)
factory

Properties

backgroundColor Color?
The background color of the scrollbar when the user is hovering or pressing it. If null, Color(0xFFf8f8f8) is used for light theme and Color(0xFF292929) is used for dark theme.
final
contractDelay Duration?
The duration of the expand-contract animation.
final
crossAxisMargin double?
Distance from the scrollbar's side to the nearest edge in logical pixels. Defaults to 0.0
final
expandContractAnimationDuration Duration?
The duration of the expand-contract animation.
final
hashCode int
The hash code for this object.
no setterinherited
hoveringCrossAxisMargin double?
Distance from the scrollbar's side to the nearest edge in logical pixels when the user is hovering or pressing. Defaults to 2.0
final
hoveringMainAxisMargin double?
Distance from the scrollbar's start and end to the edge of the viewport in logical pixels. It affects the amount of available paint area. Defaults to 0.0
final
hoveringPadding EdgeInsetsGeometry?
The padding around the scrollbar thumb when hovering
final
hoveringRadius Radius?
The radius of the scrollbar when the user is hovering or pressing. Defaults to Radius.circular(0.0)
final
hoveringThickness double?
Thickness of the scrollbar in its cross-axis in logical pixels when the user is hovering or pressing it. If null, 16.0 is used
final
hoveringTrackBorderColor Color?
Color of the track border when the user is hovering or pressing. Defaults to Colors.transparent
final
mainAxisMargin double?
Distance from the scrollbar's start and end to the edge of the viewport in logical pixels. It affects the amount of available paint area. Defaults to 2.0
final
minThumbLength double?
Sets the preferred smallest size the scrollbar can shrink to when the total scrollable extent is large, the current visible viewport is small, and the viewport is not overscrolled. Defaults to 48.0
final
padding EdgeInsetsGeometry?
The padding around the scrollbar thumb
final
radius Radius?
The default radius of the scrollbar. Defaults to Radius.circular(100.0)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollbarColor Color?
The color of the scrollbar thumb on its default state. If null, Color(0xFF898989) is used for light theme and Color(0xFFa0a0a0) is used for dark theme.
final
scrollbarPressingColor Color?
The color of the scrollbar thumb when the user is hovering or pressing it. If null, const Color(0xFF898989) is used for light theme and Color(0xFFa0a0a0) is used for dark theme by default.
final
thickness double?
Thickness of the scrollbar in its cross-axis in logical pixels. If null, 2.0 is used
final
trackBorderColor Color?
Color of the track border. Defaults to Colors.transparent
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
merge(ScrollbarThemeData? style) ScrollbarThemeData
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
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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