Package-level declarations

Properties

Link copied to clipboard

The padding between the title and body of a setting.

Link copied to clipboard

The inner padding of a setting.

Functions

Link copied to clipboard
fun CheckboxSetting(title: Int, body: Int, onCheckedChange: (Boolean) -> Unit, checked: Boolean, modifier: Modifier = Modifier.fillMaxWidth())

A setting with a checkbox.

fun CheckboxSetting(title: String, body: String, onCheckedChange: (Boolean) -> Unit, checked: Boolean, modifier: Modifier = Modifier.fillMaxWidth())
fun CheckboxSetting(title: String, body: String, onCheckedChange: (Boolean) -> Unit, checkedProvider: () -> Boolean, modifier: Modifier = Modifier.fillMaxWidth())
Link copied to clipboard

A simple indicator that says "preview".

Link copied to clipboard
fun RadioSetting(title: Int, body: Int, onClick: () -> Unit, selected: Boolean, modifier: Modifier = Modifier)

fun RadioSetting(title: String, body: String, onClick: () -> Unit, selected: Boolean, modifier: Modifier = Modifier)

A setting with a radio button.

Link copied to clipboard
fun RegularPreviewSetting(title: String, body: String, onClick: () -> Unit)

A setting that's still in the preview stage.

Link copied to clipboard
fun RegularSetting(title: Int, body: Int, onClick: () -> Unit)
fun RegularSetting(title: String, body: String, onClick: () -> Unit)

A setting.

Link copied to clipboard

The title of a settings section - small, bold text. (Note: not to be confused with the title of a settings page - for that use a LargeTopAppBar)

Link copied to clipboard
fun ToggleSetting(title: Int, body: Int, onCheckedChange: (Boolean) -> Unit, selected: Boolean)
fun ToggleSetting(title: String, body: String, onCheckedChange: (Boolean) -> Unit, selected: Boolean)