Object

TextDefaults

Contains the default values used by Text.

Source set: Android
public object TextDefaults

Contains the default values used by Text.

Properties

minimumTopListContentPadding

Source set: Android
public 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.

minimumBottomListContentPadding

Source set: Android
public 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.

Last updated: