rydmike / flex_color_scheme

A Flutter package to make and use beautiful color scheme based themes.
Other
947 stars 105 forks source link

Feature: Add TextSelectionTheme support to FlexColorScheme and Themes Playground #173

Closed rydmike closed 1 year ago

rydmike commented 1 year ago

Currently FlexColorScheme only supports primary color based TextSelectionTheme by default. If you style your InputDecorationTheme to some none primary based color, this imay not what you want as your TextSelectionTheme.

Add support for using selected ColorScheme colors to FlexSubThemesData and as settings in Themes Playground. Need color for all 3 color properties in TextSelectionTheme and opacity for selection. So 4 new properties in FlexSubThemesData and 8 settings in Themes Playground, since it needs to support different config for light and dark theme, since InputDecorator does that.

rydmike commented 1 year ago

Done in 7.2.0 release.