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.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: