ResponsiveTimeText
fun ResponsiveTimeText(modifier: Modifier = Modifier, timeSource: TimeSource = TimeTextDefaults.timeSource(timeFormat()), timeTextStyle: TextStyle = TimeTextDefaults.timeTextStyle(), contentPadding: PaddingValues = responsivePaddingDefaults(), startLinearContent: @Composable () -> Unit? = null, startCurvedContent: CurvedScope.() -> Unit? = null, endLinearContent: @Composable () -> Unit? = null, endCurvedContent: CurvedScope.() -> Unit? = null, textLinearSeparator: @Composable () -> Unit = { TextSeparator(textStyle = timeTextStyle) }, textCurvedSeparator: CurvedScope.() -> Unit = {
CurvedTextSeparator(curvedTextStyle = CurvedTextStyle(timeTextStyle))
})
Provides a TimeText component with a responsive padding of 2.1%.