A Flutter package to make and use beautiful color scheme based themes.
OTHER License
Bot releases are hidden (Show)
Published by rydmike over 3 years ago
FlexSchemeSurfaceColors.themeSurface
, useFlexSchemeSurfaceColors.surfaceStyle
instead.Published by rydmike over 3 years ago
Added four new built-in color schemes.
FlexScheme.barossa
for easy access to it.FlexScheme.shark
for easy access to it.FlexScheme.bigStone
for easy access to it.FlexScheme.damask
for easy access to it.Improved Semantics for the ThemeMode Widget buttons.
Improved FlexThemeModeSwitch widget tests, makes and checks for system mode changes.
More tests, totally 723 tests, codecov is now > 99.5%.
Added GitHub actions to automate build and to publish the examples on the Web on a new release.
Minor changes to the examples. Modified to not need the late
keyword when they are converted
to null safe versions.
Documentation:
Published by rydmike over 3 years ago
Added four new built-in color schemes.
FlexScheme.barossa
for easy access to it.FlexScheme.shark
for easy access to it.FlexScheme.bigStone
for easy access to it.FlexScheme.damask
for easy access to it.Improved Semantics for the ThemeMode Widget buttons.
Improved the widget tests, makes and checks for system mode changes. Totally 723 tests, codecov > 99.5%.
Added GitHub actions to automate build and publish the examples on the web.
Minor changes to the examples. Modified to not need the late
keyword when they are converted
to null safe versions.
Documentation:
Published by rydmike almost 4 years ago
scheme
to FlexColorScheme factories light and dark. This a shortcut for using the built-in color schemes. The colors
property can still be used as before. The .light
and .dark
factories no longer have any required properties. If scheme
is not provided it defaults to FlexScheme.material
and if both scheme
and colors
are provided, the scheme provided via colors
prevail.scheme
property, as in theme: FlexColorScheme.light(scheme: FlexScheme.mandyRed).toTheme
.opacity
property in FlexColorScheme.themedSystemNavigationBar
.scheme
property when using built-in schemes.Published by rydmike almost 4 years ago
FlexSchemeSurfaceColors.themeSurface
as deprecated in favor of the correctly namedFlexSchemeSurfaceColors.surfaceStyle
version. The older themeSurface
will be removed whenDiagnosticable
mixin to classes FlexSchemeOnColors
, FlexSchemeSurfaceColors
and FlexColorScheme
,copyWith
methods.Published by rydmike almost 4 years ago
Added four new built-in color schemes.
FlexScheme.amber
for easy access to it.FlexScheme.vesuviusBurn
for easy access to it.FlexScheme.deepPurple
for easy access to it.FlexScheme.ebonyClay
for easy access to it.Added a style option for the tab bar. The FlexColorScheme
created tab bar theme now defaults to a
TabBarTheme
that fits its created AppBarTheme
, also works via the factory app bar style options. There is also
an optional style that makes the tab bar theme suitable for surface and background colors. This was the
default style before. The change to this default style is a fix to make the default TabBarTheme
one that
fits on app bar's instead, which is expected default behavior in Flutter and Material design.
The style is set via the FlexColorScheme
property tabBarStyle
using enum values FlexTabBarStyle.forAppBar
(default) and FlexTabBarStyle.forBackground
.
The themed AppBar
and BottomAppBar
elevations still default to 0. However, and for convenience, the themed values
can now both be modified directly via the FlexColorScheme
properties appBarElevation
and bottomAppBarElevation
,
without need to change these frequently modified values with an extra copyWith
to get them re-themed as desired.
When using the recommended FlexColorScheme.light
and FlexColorScheme.dark
factories, appBarElevation
defaults to '0', if not defined and bottomAppBarElevation
defaults to appBarElevation
, if not defined.
When using the default constructor (the factories are recommended), they both default to '0'.
Example updates
Published by rydmike almost 4 years ago
toDark
feature.defaultError
fix/modifier that enables the built-in schemes to use the Material design guide's default darktoDark
method to compute a dark scheme from a light scheme, that already defines a lighttoDark
method can be used without the defaultError
scheme modifier as well, but then thedefaultError
as well.Published by rydmike almost 4 years ago
false
, to exclude the system setting based theme mode option.FlexColorScheme.comfortablePlatformDensity
as their visualDensity
compact
mode for desktop and web goes a bit overboard in its compactness. Thiscomfortable
density is used on desktops and Web, while devices keeptoDark
method. Example 4 also includes a sub-page that can be opened to see the same theme on a new page.toDark
option, so it can beAnnotatedRegion
and the new helperFlexColorScheme.themedSystemNavigationBar
.Published by rydmike almost 4 years ago
Published by rydmike almost 4 years ago
Published by rydmike almost 4 years ago