Results for “ColorScheme.secondary”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- ThemeData's toggleableActiveColor property has been deprecated3.7.0deprecated
Material widgets `Switch`, `SwitchListTile`, `Checkbox`, `CheckboxListTile`, `Radio`, `RadioListTile` now use `ColorScheme.secondary` color for their toggleable widget. `ThemeData.toggleableActiveColor` is deprecated and will eventually be removed. The widgets using
- ThemeData's accent properties have been deprecated2.5.0deprecated
theme.copyWith( colorScheme: theme.colorScheme.copyWith(secondary: myColor), ), //... ) ``` ### `accentColor` The closest backwards compatible [`ColorScheme`][] color is [`ColorScheme.secondary`][]. To hew most closely to the latest Material Design guidelines one can substitute
- Deprecated API removed after v3.103.13.0removed
stable release have been removed. ThemeData.fixTextFieldOutlineLabel ThemeData OverscrollIndicatorNotification.disallowGlow StretchingOverscrollIndicator GlowingOverscrollIndicator OverscrollIndicatorNotification ColorScheme.primaryVariant ColorScheme.secondaryVariant ColorScheme.primaryContainer ColorScheme.secondaryContainer ColorScheme ThemeData.primaryColorBrightness Brightness ThemeData.primaryColor ThemeData.brightness Theme RawScrollbar Scrollbar ScrollbarThemeData CupertinoScrollbar Scrollbar.hoverThickness MaterialStateProperty ScrollbarThemeData.thickness