SettingsPreference
data class SettingsPreference(val key: String? = null, val icon: ToolkitIcon? = null, val useIconContainer: Boolean = false, val iconColor: Color? = null, val iconContainerColor: Color? = null, val title: String? = null, val summary: String? = null, val destination: NavKey? = null, val action: () -> Boolean? = null)(source)
One row of a settings list.
Properties
Link copied to clipboard
Something the row does outside the app, such as opening the system's notification settings. It returns whether it handled the click; when it did not, the row opens destination instead, so a system screen that is missing falls back to the app's own page.
Link copied to clipboard
The page the row opens, such as DisplaySettingsRoute. In a list page it opens beside the list on wide windows when the page is a detail.
Link copied to clipboard
Any ToolkitIcon, the same icon type the shell's navigation takes.
Link copied to clipboard
Link copied to clipboard