style
fun style(backgroundColor: Color = MaterialTheme.colorScheme.primaryContainer, textStyle: TextStyle = MaterialTheme.typography.labelLarge.copy(
fontWeight = FontWeight.Bold,
color = MaterialTheme.colorScheme.onPrimaryContainer,
), textSize: TextUnit = TextUnit.Unspecified, separatorColor: Color = MaterialTheme.colorScheme.onSurface): CountdownTimerStyle(source)
Colors taken from the current MaterialTheme.
Parameters
textSize
Shortcut for changing only the font size of textStyle.