Setting Switch
data class SettingSwitch(val title: String, val key: String, val summary: String? = null, val defaultValue: Boolean) : Setting
A switch that allows the user to toggle a setting on or off. Value can be accessed from Settings.getBoolean
Parameters
title
The title of the setting.
key
The key of the setting.
summary
The summary of the setting.
default Value
The default value of the setting.