Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class SettingsDataDialog(val title: String, val positiveButton: String? = null, val negativeButton: String? = null, val saveOnDismiss: Boolean = true, val integer: Boolean = false, val float: Boolean = false, val list: ListDialogOptions? = null)
The data for displaying a dialog when clicked the item.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun SettingsItem(title: String, enabled: Boolean = true, subtitle: String? = null, icon: ImageVector? = null, stateBoolean: Boolean? = null, stateInt: Int? = null, stateFloat: Float? = null, stateString: String? = null, setBoolean: (value: Boolean) -> Unit? = null, setInt: (value: Int) -> Unit? = null, setFloat: (value: Float) -> Unit? = null, setString: (value: String) -> Unit? = null, checkBox: Boolean = false, switch: Boolean = false, dialog: SettingsDataDialog? = null, onClick: () -> Unit? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard