SettingsState

data class SettingsState(val theme: AppTheme = AppTheme.Dark, val color: AppColor = AppColor.Green, val leftHanded: Boolean = true, val spacing: String = "mono", val typography: Typography = defaultType)

The backing state of the SettingsViewModel

Parameters

theme

The current theme of the app. See AppTheme for valid values.

color

The current color of the app. See AppColor for valid values.

leftHanded

Whether the landscape mode has the tap button positioned for left thumb tapping.

spacing

Whether the text of the app is in monospace or the device's system font.

typography

The current Typography used in the app.

Constructors

Link copied to clipboard
constructor(theme: AppTheme = AppTheme.Dark, color: AppColor = AppColor.Green, leftHanded: Boolean = true, spacing: String = "mono", typography: Typography = defaultType)

Properties

Link copied to clipboard
Link copied to clipboard
val leftHanded: Boolean = true
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard