ScrollbarDefaults


Contains the default values used by Modifier.scrollbar.

Summary

Public properties

Dp

Default cross axis inset for the scrollbar track.

Cmn
Dp

Default main axis inset for the scrollbar track.

Cmn
Dp

Default thickness for a scrollbar.

Cmn
Int

Default delay in milliseconds before the scrollbar fades out.

Cmn
Int

Default duration in milliseconds for the fade animation.

Cmn
Float

Default maximum length for the scrollbar thumb as a fraction of the viewport length.

Cmn
Dp

Default minimum height for the scrollbar thumb.

Cmn
Float

Default opacity for the scrollbar thumb.

Cmn
Color

Default color for the scrollbar thumb.

Cmn

Public properties

CrossAxisTrackInset

val CrossAxisTrackInsetDp

Default cross axis inset for the scrollbar track.

MainAxisTrackInset

val MainAxisTrackInsetDp

Default main axis inset for the scrollbar track.

Thickness

val ThicknessDp

Default thickness for a scrollbar.

ThumbFadeDelayMillis

val ThumbFadeDelayMillisInt

Default delay in milliseconds before the scrollbar fades out.

ThumbFadeDurationMillis

val ThumbFadeDurationMillisInt

Default duration in milliseconds for the fade animation.

ThumbMaxLengthFraction

val ThumbMaxLengthFractionFloat

Default maximum length for the scrollbar thumb as a fraction of the viewport length.

ThumbMinLength

val ThumbMinLengthDp

Default minimum height for the scrollbar thumb.

ThumbOpacity

val ThumbOpacityFloat

Default opacity for the scrollbar thumb.

thumbColor

val thumbColorColor

Default color for the scrollbar thumb.