object TextDefaults


Contains the default values used by Text.

Summary

Public properties

Dp

The minimum bottom content padding for the list when a Text is placed at the bottom.

Dp

The minimum top content padding for the list when a Text is placed at the top.

Public properties

minimumBottomListContentPadding

val minimumBottomListContentPadding: Dp

The minimum bottom content padding for the list when a Text is placed at the bottom. Recommended for use with androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope's androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope.minimumVerticalContentPadding, which allows items to choose a preferred content padding for the list. TransformingLazyColumn takes its contentPadding as the maximum of the preferred content padding values and its own contentPadding parameter.

minimumTopListContentPadding

val minimumTopListContentPadding: Dp

The minimum top content padding for the list when a Text is placed at the top. Recommended for use with androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope's androidx.wear.compose.foundation.lazy.TransformingLazyColumnItemScope.minimumVerticalContentPadding, which allows items to choose a preferred content padding for the list. TransformingLazyColumn takes its contentPadding as the maximum of the preferred content padding values and its own contentPadding parameter.