CountdownTimerDefaults
Default values for CountdownTimer. Pass only what you want to change:
CountdownTimerDefaults.style(backgroundColor = MaterialTheme.colorScheme.errorContainer)Content copied to clipboard
Functions
Link copied to clipboard
fun dimensions(verticalPadding: Dp = CountdownTimerTokens.VerticalPadding, horizontalPadding: Dp = CountdownTimerTokens.HorizontalPadding, boxSpacing: Dp = CountdownTimerTokens.BoxSpacing): CountdownTimerDimensions
Link copied to clipboard
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
Colors taken from the current MaterialTheme.