Source set: Common
object ScrollbarDefaults
Contains the default values used by Modifier.scrollbar.
Properties
ThumbOpacity
Source set: Common
val ThumbOpacity = 0.7f
Default opacity for the scrollbar thumb.
ThumbFadeDurationMillis
Source set: Common
val ThumbFadeDurationMillis: Int
Default duration in milliseconds for the fade animation.
ThumbFadeDelayMillis
Source set: Common
val ThumbFadeDelayMillis: Int
Default delay in milliseconds before the scrollbar fades out.
thumbColor
Source set: Common
val thumbColor: Color
Default color for the scrollbar thumb.
Thickness
Source set: Common
val Thickness: Dp
Default thickness for a scrollbar.
ThumbMinLength
Source set: Common
val ThumbMinLength: Dp
Default minimum height for the scrollbar thumb.
ThumbMaxLengthFraction
Source set: Common
val ThumbMaxLengthFraction: Float
Default maximum length for the scrollbar thumb as a fraction of the viewport length.
MainAxisTrackInset
Source set: Common
val MainAxisTrackInset: Dp
Default main axis inset for the scrollbar track.
CrossAxisTrackInset
Source set: Common
val CrossAxisTrackInset: Dp
Default cross axis inset for the scrollbar track.