Package-level declarations

Types

Link copied to clipboard
class PlatformBorder(val border: BorderStroke, val inset: Dp = 0.dp, val shape: Shape = GenericShape { _, _ -> close() })
Link copied to clipboard
class PlatformButtonBorder(val border: PlatformBorder, val focusedBorder: PlatformBorder, val pressedBorder: PlatformBorder, val disabledBorder: PlatformBorder, val focusedDisabledBorder: PlatformBorder)
Link copied to clipboard
class PlatformButtonColors(val containerColor: Color, val contentColor: Color, val focusedContainerColor: Color, val focusedContentColor: Color, val pressedContainerColor: Color, val pressedContentColor: Color, val disabledContainerColor: Color, val disabledContentColor: Color)
Link copied to clipboard
class PlatformButtonElevation(val defaultElevation: Dp, val pressedElevation: Dp, val focusedElevation: Dp, val disabledElevation: Dp)
Link copied to clipboard
class PlatformButtonGlow(val glow: PlatformGlow, val focusedGlow: PlatformGlow, val pressedGlow: PlatformGlow)
Link copied to clipboard
class PlatformButtonScale(val scale: Float = 1.0f, val focusedScale: Float = 1.0f, val pressedScale: Float = 1.0f, val disabledScale: Float = 1.0f, val focusedDisabledScale: Float = 1.0f)
Link copied to clipboard
class PlatformButtonShape(val shape: Shape, val focusedShape: Shape, val pressedShape: Shape, val disabledShape: Shape, val focusedDisabledShape: Shape)
Link copied to clipboard
class PlatformCardBorder(val border: PlatformBorder, val focusedBorder: PlatformBorder, val pressedBorder: PlatformBorder, val disabledBorder: PlatformBorder)
Link copied to clipboard
class PlatformCardColors(val containerColor: Color, val contentColor: Color, val focusedContainerColor: Color, val focusedContentColor: Color, val pressedContainerColor: Color, val pressedContentColor: Color, val disabledContainerColor: Color, val disabledContentColor: Color)
Link copied to clipboard
class PlatformCardGlow(val glow: PlatformGlow, val focusedGlow: PlatformGlow, val pressedGlow: PlatformGlow)
Link copied to clipboard
class PlatformCardScale(val scale: Float = 1.0f, val focusedScale: Float = 1.0f, val pressedScale: Float = 1.0f, val disabledScale: Float = 1.0f)
Link copied to clipboard
class PlatformCardShape(val shape: Shape, val focusedShape: Shape, val pressedShape: Shape)
Link copied to clipboard
class PlatformClickableChipBorder(val border: PlatformBorder, val focusedBorder: PlatformBorder, val pressedBorder: PlatformBorder, val disabledBorder: PlatformBorder, val focusedDisabledBorder: PlatformBorder)
Link copied to clipboard
class PlatformClickableChipColors(val containerColor: Color, val contentColor: Color, val focusedContainerColor: Color, val focusedContentColor: Color, val pressedContainerColor: Color, val pressedContentColor: Color, val disabledContainerColor: Color, val disabledContentColor: Color)
Link copied to clipboard
class PlatformClickableChipScale(val scale: Float = 1.0f, val focusedScale: Float = 1.1f, val pressedScale: Float = scale, val disabledScale: Float = scale, val focusedDisabledScale: Float = disabledScale)
Link copied to clipboard
class PlatformClickableChipShape(val shape: Shape, val focusedShape: Shape = shape, val pressedShape: Shape = shape, val disabledShape: Shape = shape, val focusedDisabledShape: Shape = disabledShape)
Link copied to clipboard
class PlatformGlow(val elevationColor: Color, val elevation: Dp)
Link copied to clipboard
class PlatformSelectableChipColors(val containerColor: Color, val contentColor: Color, val focusedContainerColor: Color, val focusedContentColor: Color, val pressedContainerColor: Color, val pressedContentColor: Color, val selectedContainerColor: Color, val selectedContentColor: Color, val disabledContainerColor: Color, val disabledContentColor: Color, val focusedSelectedContainerColor: Color, val focusedSelectedContentColor: Color, val pressedSelectedContainerColor: Color, val pressedSelectedContentColor: Color)
Link copied to clipboard
class PlatformSelectableChipGlow(val glow: PlatformGlow, val focusedGlow: PlatformGlow, val pressedGlow: PlatformGlow, val selectedGlow: PlatformGlow, val focusedSelectedGlow: PlatformGlow, val pressedSelectedGlow: PlatformGlow)
Link copied to clipboard
class PlatformSelectableChipShape(val shape: Shape, val focusedShape: Shape = shape, val pressedShape: Shape = shape, val selectedShape: Shape = shape, val disabledShape: Shape = shape, val focusedSelectedShape: Shape = shape, val focusedDisabledShape: Shape = disabledShape, val pressedSelectedShape: Shape = shape, val selectedDisabledShape: Shape = disabledShape, val focusedSelectedDisabledShape: Shape = disabledShape)
Link copied to clipboard
sealed interface PlatformSurfaceBorder
Link copied to clipboard
sealed interface PlatformSurfaceColors
Link copied to clipboard
sealed interface PlatformSurfaceGlow
Link copied to clipboard
sealed interface PlatformSurfaceScale
Link copied to clipboard
sealed interface PlatformSurfaceShape

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun CombinedPlatformMaterialTheme(colorScheme: ColorScheme, shapes: Shapes, typography: Typography, content: () -> Unit)
fun CombinedPlatformMaterialTheme(colorScheme: ColorScheme, shapes: Shapes, typography: Typography, content: @Composable () -> Unit)
expect fun CombinedPlatformMaterialTheme(colorScheme: ColorScheme = Platform.colorScheme(), shapes: Shapes = Platform.shapes(), typography: Typography = Platform.typography(), content: @Composable () -> Unit)
actual fun CombinedPlatformMaterialTheme(colorScheme: ColorScheme, shapes: Shapes, typography: Typography, content: () -> Unit)
Link copied to clipboard
actual fun CombinedPlatformProvideContentColor(value: Color, content: () -> Unit)
actual fun CombinedPlatformProvideContentColor(value: Color, content: () -> Unit)
Link copied to clipboard
actual fun CombinedPlatformProvideTextStyle(value: TextStyle, content: () -> Unit)
actual fun CombinedPlatformProvideTextStyle(value: TextStyle, content: () -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun PlatformAssistChip(onClick: () -> Unit, modifier: Modifier, enabled: Boolean, leadingIcon: () -> Unit?, trailingIcon: () -> Unit?, shape: PlatformClickableChipShape, colors: PlatformClickableChipColors, scale: PlatformClickableChipScale, border: PlatformClickableChipBorder, glow: PlatformClickableChipGlow, interactionSource: MutableInteractionSource?, content: () -> Unit)
expect fun PlatformAssistChip(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, shape: PlatformClickableChipShape = PlatformClickableChipShape.assist(), colors: PlatformClickableChipColors = PlatformClickableChipColors.assist(), scale: PlatformClickableChipScale = PlatformClickableChipScale.assist(), border: PlatformClickableChipBorder = PlatformClickableChipBorder.assist(), glow: PlatformClickableChipGlow = PlatformClickableChipGlow.assist(), interactionSource: MutableInteractionSource? = null, content: @Composable () -> Unit)
actual fun PlatformAssistChip(onClick: () -> Unit, modifier: Modifier, enabled: Boolean, leadingIcon: () -> Unit?, trailingIcon: () -> Unit?, shape: PlatformClickableChipShape, colors: PlatformClickableChipColors, scale: PlatformClickableChipScale, border: PlatformClickableChipBorder, glow: PlatformClickableChipGlow, interactionSource: MutableInteractionSource?, content: () -> Unit)
Link copied to clipboard
actual fun PlatformButton(onClick: () -> Unit, modifier: Modifier, enabled: Boolean, scale: PlatformButtonScale, glow: PlatformButtonGlow, shape: PlatformButtonShape, colors: PlatformButtonColors, elevation: PlatformButtonElevation, border: PlatformButtonBorder, contentPadding: PaddingValues, interactionSource: MutableInteractionSource?, content: RowScope.() -> Unit)
expect fun PlatformButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, scale: PlatformButtonScale = PlatformButtonScale.default(), glow: PlatformButtonGlow = PlatformButtonGlow.default(), shape: PlatformButtonShape = PlatformButtonShape.default(), colors: PlatformButtonColors = PlatformButtonColors.default(), elevation: PlatformButtonElevation = PlatformButtonElevation.filled(), border: PlatformButtonBorder = PlatformButtonBorder.default(), contentPadding: PaddingValues = Platform.buttonPadding(), interactionSource: MutableInteractionSource? = null, content: @Composable RowScope.() -> Unit)
actual fun PlatformButton(onClick: () -> Unit, modifier: Modifier, enabled: Boolean, scale: PlatformButtonScale, glow: PlatformButtonGlow, shape: PlatformButtonShape, colors: PlatformButtonColors, elevation: PlatformButtonElevation, border: PlatformButtonBorder, contentPadding: PaddingValues, interactionSource: MutableInteractionSource?, content: RowScope.() -> Unit)
Link copied to clipboard
actual fun PlatformCard(onClick: () -> Unit, modifier: Modifier, enabled: Boolean, shape: PlatformCardShape, colors: PlatformCardColors, scale: PlatformCardScale, border: PlatformCardBorder, glow: PlatformCardGlow, interactionSource: MutableInteractionSource?, content: ColumnScope.() -> Unit)
expect fun PlatformCard(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, shape: PlatformCardShape = PlatformCardShape.default(), colors: PlatformCardColors = PlatformCardColors.default(), scale: PlatformCardScale = PlatformCardScale.default(), border: PlatformCardBorder = PlatformCardBorder.default(), glow: PlatformCardGlow = PlatformCardGlow.default(), interactionSource: MutableInteractionSource? = null, content: @Composable ColumnScope.() -> Unit)
actual fun PlatformCard(onClick: () -> Unit, modifier: Modifier, enabled: Boolean, shape: PlatformCardShape, colors: PlatformCardColors, scale: PlatformCardScale, border: PlatformCardBorder, glow: PlatformCardGlow, interactionSource: MutableInteractionSource?, content: ColumnScope.() -> Unit)
Link copied to clipboard
actual fun PlatformCheckbox(checked: Boolean, onCheckedChange: (Boolean) -> Unit?, modifier: Modifier, enabled: Boolean, colors: CheckboxColors, interactionSource: MutableInteractionSource?)
fun PlatformCheckbox(checked: Boolean, onCheckedChange: (Boolean) -> Unit?, modifier: Modifier, enabled: Boolean, colors: CheckboxColors, interactionSource: MutableInteractionSource?)
expect fun PlatformCheckbox(checked: Boolean, onCheckedChange: (Boolean) -> Unit?, modifier: Modifier = Modifier, enabled: Boolean = true, colors: CheckboxColors = CheckboxDefaults.colors(), interactionSource: MutableInteractionSource? = null)
actual fun PlatformCheckbox(checked: Boolean, onCheckedChange: (Boolean) -> Unit?, modifier: Modifier, enabled: Boolean, colors: CheckboxColors, interactionSource: MutableInteractionSource?)
Link copied to clipboard
actual fun PlatformFilterChip(selected: Boolean, onClick: () -> Unit, modifier: Modifier, enabled: Boolean, leadingIcon: () -> Unit?, trailingIcon: () -> Unit?, shape: PlatformSelectableChipShape, colors: PlatformSelectableChipColors, scale: PlatformSelectableChipScale, border: PlatformSelectableChipBorder, glow: PlatformSelectableChipGlow, interactionSource: MutableInteractionSource?, content: () -> Unit)
expect fun PlatformFilterChip(selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, shape: PlatformSelectableChipShape = PlatformSelectableChipShape.filter(), colors: PlatformSelectableChipColors = PlatformSelectableChipColors.filter(), scale: PlatformSelectableChipScale = PlatformSelectableChipScale.filter(), border: PlatformSelectableChipBorder = PlatformSelectableChipBorder.filter(), glow: PlatformSelectableChipGlow = PlatformSelectableChipGlow.filter(), interactionSource: MutableInteractionSource? = null, content: @Composable () -> Unit)
actual fun PlatformFilterChip(selected: Boolean, onClick: () -> Unit, modifier: Modifier, enabled: Boolean, leadingIcon: () -> Unit?, trailingIcon: () -> Unit?, shape: PlatformSelectableChipShape, colors: PlatformSelectableChipColors, scale: PlatformSelectableChipScale, border: PlatformSelectableChipBorder, glow: PlatformSelectableChipGlow, interactionSource: MutableInteractionSource?, content: () -> Unit)
Link copied to clipboard
actual fun PlatformIcon(bitmap: ImageBitmap, contentDescription: String?, modifier: Modifier, tint: Color)
actual fun PlatformIcon(painter: Painter, contentDescription: String?, modifier: Modifier, tint: Color)
actual fun PlatformIcon(imageVector: ImageVector, contentDescription: String?, modifier: Modifier, tint: Color)
expect fun PlatformIcon(bitmap: ImageBitmap, contentDescription: String?, modifier: Modifier = Modifier, tint: Color = Platform.localContentColor())
expect fun PlatformIcon(painter: Painter, contentDescription: String?, modifier: Modifier = Modifier, tint: Color = Platform.localContentColor())
expect fun PlatformIcon(imageVector: ImageVector, contentDescription: String?, modifier: Modifier = Modifier, tint: Color = Platform.localContentColor())
actual fun PlatformIcon(bitmap: ImageBitmap, contentDescription: String?, modifier: Modifier, tint: Color)
actual fun PlatformIcon(painter: Painter, contentDescription: String?, modifier: Modifier, tint: Color)
actual fun PlatformIcon(imageVector: ImageVector, contentDescription: String?, modifier: Modifier, tint: Color)
Link copied to clipboard
actual fun PlatformIconButton(onClick: () -> Unit, modifier: Modifier, enabled: Boolean, scale: PlatformButtonScale, glow: PlatformButtonGlow, colors: PlatformButtonColors, interactionSource: MutableInteractionSource?, content: BoxScope.() -> Unit)
expect fun PlatformIconButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, scale: PlatformButtonScale = PlatformButtonScale.icon(), glow: PlatformButtonGlow = PlatformButtonGlow.icon(), colors: PlatformButtonColors = PlatformButtonColors.icon(), interactionSource: MutableInteractionSource? = null, content: @Composable BoxScope.() -> Unit)
actual fun PlatformIconButton(onClick: () -> Unit, modifier: Modifier, enabled: Boolean, scale: PlatformButtonScale, glow: PlatformButtonGlow, colors: PlatformButtonColors, interactionSource: MutableInteractionSource?, content: BoxScope.() -> Unit)
Link copied to clipboard
actual fun PlatformInputChip(selected: Boolean, onClick: () -> Unit, modifier: Modifier, enabled: Boolean, leadingIcon: () -> Unit?, avatar: () -> Unit?, trailingIcon: () -> Unit?, shape: PlatformSelectableChipShape, colors: PlatformSelectableChipColors, scale: PlatformSelectableChipScale, border: PlatformSelectableChipBorder, glow: PlatformSelectableChipGlow, interactionSource: MutableInteractionSource?, content: () -> Unit)
expect fun PlatformInputChip(selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, leadingIcon: @Composable () -> Unit? = null, avatar: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, shape: PlatformSelectableChipShape = PlatformSelectableChipShape.input(hasAvatar = avatar != null), colors: PlatformSelectableChipColors = PlatformSelectableChipColors.input(), scale: PlatformSelectableChipScale = PlatformSelectableChipScale.input(), border: PlatformSelectableChipBorder = PlatformSelectableChipBorder.input(hasAvatar = avatar != null), glow: PlatformSelectableChipGlow = PlatformSelectableChipGlow.input(), interactionSource: MutableInteractionSource? = null, content: @Composable () -> Unit)
actual fun PlatformInputChip(selected: Boolean, onClick: () -> Unit, modifier: Modifier, enabled: Boolean, leadingIcon: () -> Unit?, avatar: () -> Unit?, trailingIcon: () -> Unit?, shape: PlatformSelectableChipShape, colors: PlatformSelectableChipColors, scale: PlatformSelectableChipScale, border: PlatformSelectableChipBorder, glow: PlatformSelectableChipGlow, interactionSource: MutableInteractionSource?, content: () -> Unit)
Link copied to clipboard
actual fun PlatformMaterialTheme(colorScheme: ColorScheme, shapes: Shapes, typography: Typography, content: () -> Unit)
fun PlatformMaterialTheme(colorScheme: ColorScheme, shapes: Shapes, typography: Typography, content: @Composable () -> Unit)
expect fun PlatformMaterialTheme(colorScheme: ColorScheme = Platform.colorScheme(), shapes: Shapes = Platform.shapes(), typography: Typography = Platform.typography(), content: @Composable () -> Unit)
actual fun PlatformMaterialTheme(colorScheme: ColorScheme, shapes: Shapes, typography: Typography, content: () -> Unit)
Link copied to clipboard
actual fun PlatformProvideTextStyle(value: TextStyle, content: () -> Unit)
expect fun PlatformProvideTextStyle(value: TextStyle, content: @Composable () -> Unit)
actual fun PlatformProvideTextStyle(value: TextStyle, content: () -> Unit)
Link copied to clipboard
actual fun PlatformSuggestionChip(onClick: () -> Unit, label: () -> Unit, modifier: Modifier, enabled: Boolean, icon: () -> Unit?, shape: PlatformClickableChipShape, colors: PlatformClickableChipColors, scale: PlatformClickableChipScale, border: PlatformClickableChipBorder, glow: PlatformClickableChipGlow, interactionSource: MutableInteractionSource?)
expect fun PlatformSuggestionChip(onClick: () -> Unit, label: @Composable () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, icon: @Composable () -> Unit? = null, shape: PlatformClickableChipShape = PlatformClickableChipShape.suggestion(), colors: PlatformClickableChipColors = PlatformClickableChipColors.suggestion(), scale: PlatformClickableChipScale = PlatformClickableChipScale.suggestion(), border: PlatformClickableChipBorder = PlatformClickableChipBorder.suggestion(), glow: PlatformClickableChipGlow = PlatformClickableChipGlow.suggestion(), interactionSource: MutableInteractionSource? = null)
actual fun PlatformSuggestionChip(onClick: () -> Unit, label: () -> Unit, modifier: Modifier, enabled: Boolean, icon: () -> Unit?, shape: PlatformClickableChipShape, colors: PlatformClickableChipColors, scale: PlatformClickableChipScale, border: PlatformClickableChipBorder, glow: PlatformClickableChipGlow, interactionSource: MutableInteractionSource?)
Link copied to clipboard
actual fun PlatformSurface(modifier: Modifier, tonalElevation: Dp, shape: Shape, containerColor: Color, contentColor: Color, border: PlatformBorder, glow: PlatformGlow, content: () -> Unit)
actual fun PlatformSurface(onClick: () -> Unit, modifier: Modifier, enabled: Boolean, tonalElevation: Dp, shape: PlatformSurfaceShape.Clickable, colors: PlatformSurfaceColors.Clickable, scale: PlatformSurfaceScale.Clickable, border: PlatformSurfaceBorder.Clickable, glow: PlatformSurfaceGlow.Clickable, interactionSource: MutableInteractionSource?, content: () -> Unit)
actual fun PlatformSurface(selected: Boolean, onClick: () -> Unit, modifier: Modifier, enabled: Boolean, tonalElevation: Dp, shape: PlatformSurfaceShape.Selectable, colors: PlatformSurfaceColors.Selectable, scale: PlatformSurfaceScale.Selectable, border: PlatformSurfaceBorder.Selectable, glow: PlatformSurfaceGlow.Selectable, interactionSource: MutableInteractionSource?, content: () -> Unit)
expect fun PlatformSurface(modifier: Modifier = Modifier, tonalElevation: Dp = 0.dp, shape: Shape = RectangleShape, containerColor: Color = Platform.colorScheme().surface, contentColor: Color = Platform.contentColorFor(containerColor), border: PlatformBorder = PlatformBorder.None, glow: PlatformGlow = PlatformGlow.None, content: @Composable () -> Unit)
expect fun PlatformSurface(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, tonalElevation: Dp = 0.dp, shape: PlatformSurfaceShape.Clickable = PlatformSurfaceShape.Clickable.default(), colors: PlatformSurfaceColors.Clickable = PlatformSurfaceColors.Clickable.default(), scale: PlatformSurfaceScale.Clickable = PlatformSurfaceScale.Clickable.default(), border: PlatformSurfaceBorder.Clickable = PlatformSurfaceBorder.Clickable.default(), glow: PlatformSurfaceGlow.Clickable = PlatformSurfaceGlow.Clickable.default(), interactionSource: MutableInteractionSource? = null, content: @Composable () -> Unit)
expect fun PlatformSurface(selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, tonalElevation: Dp = 0.dp, shape: PlatformSurfaceShape.Selectable = PlatformSurfaceShape.Selectable.default(), colors: PlatformSurfaceColors.Selectable = PlatformSurfaceColors.Selectable.default(), scale: PlatformSurfaceScale.Selectable = PlatformSurfaceScale.Selectable.default(), border: PlatformSurfaceBorder.Selectable = PlatformSurfaceBorder.Selectable.default(), glow: PlatformSurfaceGlow.Selectable = PlatformSurfaceGlow.Selectable.default(), interactionSource: MutableInteractionSource? = null, content: @Composable () -> Unit)
actual fun PlatformSurface(modifier: Modifier, tonalElevation: Dp, shape: Shape, containerColor: Color, contentColor: Color, border: PlatformBorder, glow: PlatformGlow, content: () -> Unit)
actual fun PlatformSurface(onClick: () -> Unit, modifier: Modifier, enabled: Boolean, tonalElevation: Dp, shape: PlatformSurfaceShape.Clickable, colors: PlatformSurfaceColors.Clickable, scale: PlatformSurfaceScale.Clickable, border: PlatformSurfaceBorder.Clickable, glow: PlatformSurfaceGlow.Clickable, interactionSource: MutableInteractionSource?, content: () -> Unit)
actual fun PlatformSurface(selected: Boolean, onClick: () -> Unit, modifier: Modifier, enabled: Boolean, tonalElevation: Dp, shape: PlatformSurfaceShape.Selectable, colors: PlatformSurfaceColors.Selectable, scale: PlatformSurfaceScale.Selectable, border: PlatformSurfaceBorder.Selectable, glow: PlatformSurfaceGlow.Selectable, interactionSource: MutableInteractionSource?, content: () -> Unit)
Link copied to clipboard
actual fun PlatformSwitch(checked: Boolean, onCheckedChange: (Boolean) -> Unit?, modifier: Modifier, thumbContent: () -> Unit?, enabled: Boolean, colors: SwitchColors, interactionSource: MutableInteractionSource?)
fun PlatformSwitch(checked: Boolean, onCheckedChange: (Boolean) -> Unit?, modifier: Modifier, thumbContent: @Composable () -> Unit?, enabled: Boolean, colors: SwitchColors, interactionSource: MutableInteractionSource?)
expect fun PlatformSwitch(checked: Boolean, onCheckedChange: (Boolean) -> Unit?, modifier: Modifier = Modifier, thumbContent: @Composable () -> Unit? = null, enabled: Boolean = true, colors: SwitchColors = SwitchDefaults.colors(), interactionSource: MutableInteractionSource? = null)
actual fun PlatformSwitch(checked: Boolean, onCheckedChange: (Boolean) -> Unit?, modifier: Modifier, thumbContent: () -> Unit?, enabled: Boolean, colors: SwitchColors, interactionSource: MutableInteractionSource?)
Link copied to clipboard
actual fun PlatformText(text: String, modifier: Modifier, color: Color, fontSize: TextUnit, fontStyle: FontStyle?, fontWeight: FontWeight?, fontFamily: FontFamily?, letterSpacing: TextUnit, textDecoration: TextDecoration?, textAlign: TextAlign?, lineHeight: TextUnit, overflow: TextOverflow, softWrap: Boolean, maxLines: Int, minLines: Int, onTextLayout: (TextLayoutResult) -> Unit, style: TextStyle)
actual fun PlatformText(text: AnnotatedString, modifier: Modifier, color: Color, fontSize: TextUnit, fontStyle: FontStyle?, fontWeight: FontWeight?, fontFamily: FontFamily?, letterSpacing: TextUnit, textDecoration: TextDecoration?, textAlign: TextAlign?, lineHeight: TextUnit, overflow: TextOverflow, softWrap: Boolean, maxLines: Int, minLines: Int, inlineContent: Map<String, InlineTextContent>, onTextLayout: (TextLayoutResult) -> Unit, style: TextStyle)
expect fun PlatformText(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, letterSpacing: TextUnit = TextUnit.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, lineHeight: TextUnit = TextUnit.Unspecified, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, minLines: Int = 1, onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = Platform.localTextStyle())
expect fun PlatformText(text: AnnotatedString, modifier: Modifier = Modifier, color: Color = Color.Unspecified, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, letterSpacing: TextUnit = TextUnit.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign? = null, lineHeight: TextUnit = TextUnit.Unspecified, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, minLines: Int = 1, inlineContent: Map<String, InlineTextContent> = mapOf(), onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = Platform.localTextStyle())
actual fun PlatformText(text: String, modifier: Modifier, color: Color, fontSize: TextUnit, fontStyle: FontStyle?, fontWeight: FontWeight?, fontFamily: FontFamily?, letterSpacing: TextUnit, textDecoration: TextDecoration?, textAlign: TextAlign?, lineHeight: TextUnit, overflow: TextOverflow, softWrap: Boolean, maxLines: Int, minLines: Int, onTextLayout: (TextLayoutResult) -> Unit, style: TextStyle)
actual fun PlatformText(text: AnnotatedString, modifier: Modifier, color: Color, fontSize: TextUnit, fontStyle: FontStyle?, fontWeight: FontWeight?, fontFamily: FontFamily?, letterSpacing: TextUnit, textDecoration: TextDecoration?, textAlign: TextAlign?, lineHeight: TextUnit, overflow: TextOverflow, softWrap: Boolean, maxLines: Int, minLines: Int, inlineContent: Map<String, InlineTextContent>, onTextLayout: (TextLayoutResult) -> Unit, style: TextStyle)
Link copied to clipboard
fun ProvideNonTvContentColor(value: Color = LocalContentColor.current, content: @Composable () -> Unit)
Link copied to clipboard
fun ProvideNonTvTextStyle(value: TextStyle = LocalTextStyle.current, content: @Composable () -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard