androidx.compose.material3
ScrollbarDefaultsSince 1.12
Object
No hand-written docs yet.
Contains the default values used by Modifier.scrollbar.
object ScrollbarDefaults
Properties
ThumbOpacity
val ThumbOpacity: Float
Default opacity for the scrollbar thumb.
ThumbFadeDurationMillis
val ThumbFadeDurationMillis: Int
Default duration in milliseconds for the fade animation.
ThumbFadeDelayMillis
val ThumbFadeDelayMillis: Int
Default delay in milliseconds before the scrollbar fades out.
thumbColor
@Composable val thumbColor: Color
Default color for the scrollbar thumb.
Thickness
val Thickness: Dp
Default thickness for a scrollbar.
ThumbMinLength
val ThumbMinLength: Dp
Default minimum height for the scrollbar thumb.
ThumbMaxLengthFraction
val ThumbMaxLengthFraction: Float
Default maximum length for the scrollbar thumb as a fraction of the viewport length.
MainAxisTrackInset
val MainAxisTrackInset: Dp
Default main axis inset for the scrollbar track.
CrossAxisTrackInset
val CrossAxisTrackInset: Dp
Default cross axis inset for the scrollbar track.
Library docs
Contains the default values used by Modifier.scrollbar.