colorist library

Classes

Color
An immutable color value in ARGB format.
ColoristThemeDebugWidget
ColorTheme
Use on abstract classes that implement a color theme schema. Annotations are used to generate the implementation code for the color theme class. When implementing your class, you must add getter override for either themeData or cupertinoThemeData. You could also implement both if you wish to support both Material and Cupertino theming in your app. Example:
ColorThemeSchema
Schema for color themes
CupertinoTheme
Applies a visual styling theme to descendant Cupertino widgets.
CupertinoThemeData
Styling specifications for a CupertinoTheme.
ThemeBrightnessSelectionDropdownField
A dropdown field that allows selecting prefered app's theme brightness Available options are ThemeBrightness.light, ThemeBrightness.dark, and ThemeBrightness.system. Upon changing the selection, the theme will also change accordingly. If multiple themes were provided, matching the desired brightness, the first matching theme will be applied.
ThemeBrightnessSwitch
A switch tile that allows toggling between light and dark theme brightness using Colorist's ThemeManager. This overrides app's current brightness settings, and active theme if possible. If default theme brightness mode is set to ThemeBrightness.system, toggling the switch on and off will alter this preference to either ThemeBrightness.dark or ThemeBrightness.light. If you want to keep the ThemeBrightness.system option, consider using ThemeBrightnessSelectionDropdownField instead.
ThemeData
Defines the configuration of the overall visual Theme for a MaterialApp or a widget subtree within the app.
ThemeExtension<T extends ThemeExtension<T>>
An interface that defines custom additions to a ThemeData object.
ThemeManager<T extends ColorThemeSchema>
ThemeManagerController<T extends ColorThemeSchema>
ThemeSelectionDropdownField
A dropdown field that allows selecting a theme from Colorist's ThemeManager. Changing active theme will also set prefered BrightnessTheme to one matching the theme. If the Brightness matches the current system brightness, the app will continue using system brightness.

Enums

Brightness
Describes the contrast of a theme or color palette.
ColorsGetterGeneration
Options for generating color getters for different UI frameworks (MaterialApp or CupertinoApp). The getter generated for a @ColorTheme is for simplified access to your colors: context.colors.
ThemeBrightness
Brightness options for themes.