flex_color_scheme library
A library to help you make beautiful ColorScheme based themes for Flutter.
Classes
- FlexColor
- Defines colors, names and color schemes used to make maps and a list of predefined FlexSchemeData objects that can be used by FlexColorScheme.
- FlexColorScheme
- Constructs a ThemeData object from its properties and theming logic, that is returned with toTheme.
- FlexSchemeColor
- Immutable data class for the main scheme colors used in a FlexColorScheme based color scheme.
- FlexSchemeData
- Immutable data class that holds name and description string scheme descriptions, light and dark, FlexSchemeColor definitions that can used by the FlexColorScheme.light and FlexColorScheme.dark factories to create a FlexColorScheme.
- FlexSchemeOnColors
- Immutable data class used to create "on" colors for displaying text and icons on the surface, background, error colors and the primary and secondary colors.
- FlexSchemeSurfaceColors
- Immutable data class used to make the three different surface colors in a FlexColorScheme.
- FlexThemeModeOptionButton
- Stateless widget that draws a box with the 4 colors, primary, primary variant secondary and secondary variant in the properties of passed in flexSchemeColor.
- FlexThemeModeSwitch
- A 3-way Light, Dark and System theme-mode switch widget.
Enums
- FlexAppBarStyle
-
Enum to select the used AppBarTheme style in FlexColorScheme based themes
when using its
light
anddark
factories. - FlexScheme
- Enum that can be used to lookup predefined FlexSchemeData scheme definition objects.
- FlexSurface
- Enum for using predefined surface types in FlexColorScheme based themes.
- Enum used to define the SystemUiOverlayStyle for the system navigation bar. Can be used with the FlexColorScheme.themedSystemNavigationBar helper to select the background style of system navigation bar when using the helper in an AnnotatedRegion to style the system navigation bar.
- FlexTabBarStyle
- Enum to select TabBarTheme preference in FlexColorScheme based themes.
Extensions
- FlexColorExtensions on Color
- Extensions on Color to brighten, lighten, darken and blend colors and can get a shade for gradients.
- FlexStringExtensions on String
- Extensions on String.