NonInteractiveScrollbarDefaults


Contains the default values used by Modifier.nonInteractiveScrollbar.

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 CrossAxisTrackInset: Dp

Default cross axis inset for the scrollbar track.

MainAxisTrackInset

val MainAxisTrackInset: Dp

Default main axis inset for the scrollbar track.

Thickness

val Thickness: Dp

Default thickness for a scrollbar.

ThumbFadeDelayMillis

val ThumbFadeDelayMillis: Int

Default delay in milliseconds before the scrollbar fades out.

ThumbFadeDurationMillis

val ThumbFadeDurationMillis: Int

Default duration in milliseconds for the fade animation.

ThumbMaxLengthFraction

val ThumbMaxLengthFraction: Float

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

ThumbMinLength

val ThumbMinLength: Dp

Default minimum height for the scrollbar thumb.

ThumbOpacity

val ThumbOpacity: Float

Default opacity for the scrollbar thumb.

thumbColor

val thumbColor: Color

Default color for the scrollbar thumb.