androidx.compose.material3

TimePickerShapesSince 1.12

Class

No hand-written docs yet.

The shapes that will be used in time pickers.

class TimePickerShapes(
    timeFieldShape: Shape,
    periodSelectorShape: Shape,
)

How to get one

Create it

Ready-made values and functions that return it

Used by

Parameters that take a TimePickerShapes.

Properties

timeFieldShape

val timeFieldShape: Shape

periodSelectorShape

val periodSelectorShape: Shape

Functions

copy

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

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

Library docs

The shapes that will be used in time pickers.