Compose Unstyled 2.0 is out! Check the official announcement blog ->
Class

TimePickerShapes

The shapes that will be used in time pickers.

Source set: Common
@ExperimentalMaterial3ExpressiveApi
class TimePickerShapes(val timeFieldShape: Shape, val periodSelectorShape: Shape)

The shapes that will be used in time pickers.

Functions

copy

fun copy(
        timeFieldShape: Shape? = this.timeFieldShape,
        periodSelectorShape: Shape? = this.periodSelectorShape,
    ) =
        TimePickerShapes(
            timeFieldShape = timeFieldShape ?: this.timeFieldShape,
            periodSelectorShape = periodSelectorShape ?: this.periodSelectorShape,
        )

Returns a copy of this TimePickerShapes, optionally overriding some of the values.

Last updated: