Skip to content

ThemeVariants

object ThemeVariants

Constants for the built-in theme variant names.

Pass these as the mode parameter of ThemeData to switch between light and dark variants.

Properties

DARK

const val DARK: String

The dark theme variant.

DEFAULT

const val DEFAULT: String

The default (light) theme variant.