darkVariant

val darkVariant: Boolean = false

Parameters

darkVariant

emit a second, dark entry alongside the light one. Distinct from @Preview(uiMode = UI_MODE_NIGHT_YES), which says this one fixture is dark rather than asking for another one; setting both is an error.