Results for “ColorScheme.primary”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- 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
- ThemeData's accent properties have been deprecated2.5.0deprecated
most closely to the latest Material Design guidelines one can substitute `ColorScheme.primary` instead. If a contrasting color is needed then use [`ColorScheme.onSecondary`][]. Custom components that used
- Migrating to Material 33.16.0breaking
The Material library has been updated to match the Material 3 Design
- New Buttons and Button Themes1.20.0breaking
A new set of basic material button widgets and themes have been