flex_color_scheme library
A library to help you make beautiful color scheme 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
- Make beautiful Flutter themes using pre-designed color schemes or custom colors. Get the resulting ThemeData with the toTheme method.
- FlexSchemeColor
- Immutable color data class for the main scheme colors used in a FlexColorScheme based color scheme and theming engine.
- FlexSchemeData
- Immutable data class that holds name and description string scheme descriptions, light and dark, FlexSchemeColor definitions.
- 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 four different surface colors in a FlexColorScheme.
- FlexSubThemes
- Static sub-theme helpers used by opt-in widget sub theming in FlexColorScheme.
- FlexSubThemesData
- Parameters used by FlexColorScheme to configure FlexSubThemes when FlexColorScheme.useSubThemes is true.
- 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. - FlexInputBorderType
- Enum used to select the type of border used on by the input decorator in FlexSubThemes.inputDecorationTheme.
- FlexScheme
-
Enum that can be used to lookup predefined
FlexSchemeData
scheme definition objects. - FlexSurface
- Enum for using predefined surface branding strengths in FlexColorScheme based themes.
- FlexSurfaceMode
- Enum for using predefined surface blend modes for surface and background colors in FlexColorScheme based themes.
- Enum used to define the SystemUiOverlayStyle for the system navigation bar.
- FlexTabBarStyle
- Enum to select TabBarTheme preference in FlexColorScheme based themes.
- FlexThemeModeButtonOrder
- Enum used to define the order, from left to right, of the theme mode selection buttons on the FlexThemeModeSwitch.
- SchemeColor
- Enum used to described which color from the active theme's ColorScheme should be used by certain widget sub-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.
- FlexThemeData on ThemeData
- A convenience extension on ThemeData to define a FlexColorScheme object and return the ThemeData object defined by its instance, using its FlexColorScheme.toTheme method in one go.