Results for “ThemeData.useMaterial3”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- The ThemeData.useMaterial3 property is now set to true by default3.16.0breaking
components, new component themes, and updated component visuals. As of this release, `ThemeData.useMaterial3` is set `true` by default. Prior to the 3.16 release, the changes were
- Deprecate ThemeData.indicatorColor in favor of TabBarThemeData.indicatorColor3.32.0deprecated
Replace [`ThemeData.indicatorColor`][] with [`TabBarThemeData.indicatorColor`][] to override the default tab bar indicator color when [`ThemeData.useMaterial3`][] flag is set to `false`. Code before migration: ```dart theme: ThemeData( indicatorColor: Colors.red
- Customize tabs alignment using the new TabBar.tabAlignment property3.16.0breaking
customize the alignment of tabs in a `TabBar`. When you set `TabBar.isScrollable` and `ThemeData.useMaterial3` to `true`, the tabs in a scrollable `TabBar` defaults to `TabAlignment.startOffset`. This aligns
- Deprecated API removed after v3.133.16.0removed
ElevatedButton PlatformsViewsService PlatformViewsService TextSelectionOverlay SelectionOverlay.fadeDuration TextSelectionOverlay.fadeDuration SelectionOverlay RenderEditable ScrollBehavior MaterialScrollBehavior ThemeData GlowingOverscrollIndicator StretchingOvercrollIndicator ThemeData.useMaterial3 StretchingOverscrollIndicator PaintingBinding ImageProvider DecoderCallback PaintingBinding.instantiateImageCodec PaintingBinding.instantiateImageCodecFromBuffer ImageProvider.load ImageProvider.loadBuffer DecoderBufferCallback TestWindow WidgetTester TestWidgetsFlutterBinding TestPlatformDispatcher