Results for “Material”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Rename MaterialState to WidgetState3.22.0breaking
MaterialState`, and its related APIs, have been moved out of the Material library and renamed to `WidgetState`. A [Flutter fix][] is available to help migrate the `MaterialState
- Migrate to standalone material_ui and cupertino_ui packagesunreleasedbreaking
Material and Cupertino design libraries are now available as standalone packages: `package:material_ui` and `package:cupertino_ui`. In Flutter 3.47, developers
- Material 3 tokens update3.41.0breaking
This release updates `package:material_color_utilities` from `v0.11.1` to `0.13.0`. This updated package includes algorithm changes that align with the Material 3 tokens update
- TextField requires MaterialLocalizations1.20.0breaking
Instances of `TextField` must have a `MaterialLocalizations` present in the widget tree. Trying to instantiate a `TextField` without the proper localizations results in an assertion such
- Material Chip button semantics2.0.0breaking
Flutter now applies the semantic label of `button` to all interactive Material Chips for accessibility purposes. The outermost `Semantics` widget that wraps all Chip classes to describe
- Material 3 Tokens Update in Flutter3.27.0breaking
Material Design tokens updated the mapping of 4 color roles in light mode to be more visually appealing while retaining accessible contrast. Testing identified this change
- Navigator's page APIs breaking change3.24.0breaking
back gestures. Code before migration: ```dart import 'package:material_ui/material_ui.dart'; final MaterialPage page1 = MaterialPage (child: Placeholder()); final MaterialPage page2 = MaterialPage (child: Placeholder()); final MaterialPage page3 = MaterialPage (child
- ThemeData's toggleableActiveColor property has been deprecated3.7.0deprecated
RadioThemeData`. 3. By customizing the widget's color properties. Code before migration: ```dart MaterialApp( theme: ThemeData(toggleableActiveColor: myColor), // ... ); ``` Code after migration: ```dart final ThemeData theme = ThemeData(); MaterialApp( theme
- Material Theme System Updates3.32.0breaking
`CardTheme`, `DialogTheme` and `TabBarTheme` were refactored to conform to Flutter's conventions
- Moved ReorderableListView's localized strings3.13.0breaking
localizations to widgets localizations. These strings were deprecated in material localizations. The `MaterialLocalizations` strings for `reorderItemToStart`, `reorderItemToEnd`, `reorderItemUp`, `reorderItemDown`, `reorderItemLeft`, and `reorderItemRight` are deprecated and replaced
- Migrating to Material 33.16.0breaking
Material library has been updated to match the Material 3 Design spec. Changes include new components and component themes, updated component visuals, and much more. Many
- Updated Material 3 progress indicators3.29.0breaking
updated `LinearProgressIndicator` design, set the `ProgressIndicatorThemeData.year2023` property to `false` in your `MaterialApp`: ```dart highlightLines=2 return MaterialApp( theme: ThemeData(progressIndicatorTheme: const ProgressIndicatorThemeData(year2023: false)), // ... LinearProgressIndicator( year2023: false, value
- [Material] Remove Material import from backdrop_filter_test.dart widget tests3.44.0improvement
Material] Remove Material import from backdrop_filter_test.dart widget tests (Material, by @kazbeksultanov
- Updated Material 3 Slider3.29.0breaking
updated `Slider` design, set the `SliderThemeData.year2023` property to `false` in your `MaterialApp`: ```dart highlightLines=2 return MaterialApp( theme: ThemeData(sliderTheme: const SliderThemeData(year2023: false)), // ... Slider( value: _value, onChanged
- The ThemeData.useMaterial3 property is now set to true by default3.16.0breaking
version of the Material library by specifying `useMaterial3: false` in your `MaterialApp` theme. will eventually be deprecated and removed. but needed a whole new implementation. For this
- ListTile reports an error in debug when wrapped in a colored widget3.44.0breaking
Material` widget: ```dart Container( color: Colors.blue, child: Material( type: MaterialType.transparency, child: ListTile( title: const Text('Title'), onTap: () {}, ), ), ) ``` Container ColoredBox ListTile Material ListTile.selectedTileColor
- [Material Cross Imports] Clean up Material Divider usages3.47.0improvement
Material Cross Imports] Clean up Material Divider usages (Framework, by @navaronbracke
- More Strict Assertions in the Navigator and the Hero Controller Scope1.20.0breaking
starts to throw exceptions. ```dart import 'package:material_ui/material_ui.dart'; void main() { runApp( MaterialApp( builder: (BuildContext context, Widget child) { // Builds two parallel navigators. This throws // error because both
- Remove unnecessary Material imports from non-Material tests in flutter package3.47.0improvement
Remove unnecessary Material imports from non-Material tests in flutter package (Framework, by @momshaddinury
- - New material icons are not properly rendered.2.10.2bugfix
material icons are not properly rendered
- - Material routes delayed on push and pop2.5.1bugfix
Material routes delayed on push
- Remove material from scrollable_test.dart3.44.0improvement
Remove material from scrollable_test.dart (Material, by @navaronbracke
- [material/dropdown_menu.dart] Refactor _RenderDropdownMenuBody.computeDryLayout3.41.0improvement
material/dropdown_menu.dart] Refactor _RenderDropdownMenuBody.computeDryLayout (Material, by @davidhicks980
- Remove material from scrollable_helpers_test.dart3.44.0improvement
Remove material from scrollable_helpers_test.dart (Material, by @navaronbracke
- Fixes an issue with Material 3 Tab Bar animations.3.27.3bugfix
Fixes an issue with Material 3 Tab Bar animations
- - Ink Sparkle slows down applications using Material 3.3.0.2bugfix
Sparkle slows down applications using Material
- - Fix rendering bug with elevation 0 material components.3.16.3bugfix
rendering bug with elevation 0 material components
- New Buttons and Button Themes1.20.0breaking
basic material button widgets and themes have been added to Flutter. The original classes have been deprecated and will eventually be removed. The overall goal
- Reduce reliance on Material in page_transitions_test.dart3.44.0improvement
Reduce reliance on Material in page_transitions_test.dart (Material, by @navaronbracke
- - Material 3 Navigation Drawer does not support scrolling or safe areas3.7.1bugfix
Material 3 Navigation Drawer does not support scrolling or safe areas
- Default Scrollbars on Desktop2.2.0breaking
`ScrollBehavior`s now automatically apply `Scrollbar`s to scrolling widgets on desktop
- Updated Checkbox.fillColor behavior3.13.0breaking
Checkbox.fillColor` property to customize the checkbox. Code before migration: ```dart Checkbox( fillColor: MaterialStateProperty.resolveWith((states) { if (!states.contains(MaterialState.selected)) { return Colors.red; } return null; }), value: _checked, onChanged: _enabled ? (bool? value) { setState
- [material/menu_anchor.dart] Add animations to MenuAnchor.3.44.0new-feature
material/menu_anchor.dart] Add animations to MenuAnchor. (Material, by @davidhicks980). MenuAnchor
- - ios: Visual glitch when scrolling a list in a Scaffold that has a Material and Container as bottomNavigationBar.2.10.3bugfix
Visual glitch when scrolling a list in a Scaffold that has a Material and Container as bottomNavigationBar
- Add warning when there is a widget with color between `Material` and `ListTile`3.44.0new-feature
warning when there is a widget with color between `Material` and `ListTile` (Material, by @QuncCccccc). Material ListTile
- Remove semantics_tester import from material_button_test.dart3.47.0improvement
Remove semantics_tester import from material_button_test.dart (Material, by @Sanaullah49
- Manually roll material_color_utilities3.41.0improvement
Manually roll material_color_utilities (Material, by @kevmoo
- Make sure that a MaterialBanner doesn't crash in 0x0 environment3.38.0bugfix
Make sure that a MaterialBanner doesn't crash in 0x0 environment (Material, by @ahmedsameha1). MaterialBanner
- Make sure that a MaterialApp doesn't crash in 0x0 environment3.38.0bugfix
Make sure that a MaterialApp doesn't crash in 0x0 environment (Material, by @ahmedsameha1). MaterialApp
- - Ink ripple is rendered incorrectly inside of the `NavigationBar` widget when using Material 3.3.7.2bugfix
ripple is rendered incorrectly inside of the `NavigationBar` widget when using Material
- Remove material from slivers_appbar_floating_pinned_test.dart + slivers_appbar_stretch_test.dart + sliver_persistent_header_test.dart + slivers_appbar_floating_test.dart3.44.0improvement
Remove material from slivers_appbar_floating_pinned_test.dart + slivers_appbar_stretch_test.dart + sliver_persistent_header_test.dart + slivers_appbar_floating_test.dart (Material, by @navaronbracke
- Remove material from basic_test.dart3.44.0improvement
Remove material from basic_test.dart (Framework, by @navaronbracke
- Remove material from sliver_tree_test.dart3.44.0improvement
Remove material from sliver_tree_test.dart (Framework, by @navaronbracke
- Remove material from interactive_viewer_test.dart3.44.0improvement
Remove material from interactive_viewer_test.dart (Framework, by @navaronbracke
- Use null-aware elements in material/dialog.dart3.44.0improvement
null-aware elements in material/dialog.dart (Material, by @brahim-guaali
- Use local semantics tester in Material button tests3.47.0improvement
local semantics tester in Material button tests (Material, by @MarlonJD
- Make sure that a Material doesn't crash in 0x0 environment3.41.0bugfix
Make sure that a Material doesn't crash in 0x0 environment (Material, by @ahmedsameha1
- Use null-aware spread in material/app.dart3.44.0improvement
null-aware spread in material/app.dart (Material, by @brahim-guaali
- [material/menu_anchor.dart] Check for reserved padding updates on layout delegate.3.38.0improvement
material/menu_anchor.dart] Check for reserved padding updates on layout delegate. (Material, by @davidhicks980
- Fix(Material): DateRangePicker ignores DatePickerTheme.dayShape3.44.0bugfix
Material): DateRangePicker ignores DatePickerTheme.dayShape (Material, by @akhil-ge0rge). DateRangePicker DatePickerTheme.dayShape
- [Material] modernize Typography._withPlatform with Dart 3 switch expression3.44.0docs
Material] modernize Typography._withPlatform with Dart 3 switch expression (Material, by @Enderjua
- [Material] update hourFormat to use Dart 3 switch expression3.44.0improvement
Material] update hourFormat to use Dart 3 switch expression (Material, by @Enderjua
- The Route and Navigator refactoring1.17.0breaking
The `Route` class no longer manages its overlay entries in overlay, and
- [Material] modernize legacy switch statements to expressions across multiple files3.44.0improvement
Material] modernize legacy switch statements to expressions across multiple files (Material, by @Enderjua
- [material/menu_anchor.dart] Ensure positioned menus always begin animating at the target position3.44.0improvement
material/menu_anchor.dart] Ensure positioned menus always begin animating at the target position (Material, by @davidhicks980
- [material/menu_anchor.dart] Create internal menu controller if external controller is changed to null.3.41.0improvement
material/menu_anchor.dart] Create internal menu controller if external controller is changed to null. (Material, by @davidhicks980
- [Material] modernize time picker components with Dart 3 switch expressions3.44.0improvement
Material] modernize time picker components with Dart 3 switch expressions (Material, by @Enderjua
- Remove trivial test utility cross-imports from material and cupertino…3.47.0improvement
Remove trivial test utility cross-imports from material and cupertino… (Material, by @xfce0
- Remove editable_text_utils cross-imports from material and cupertino …3.44.0improvement
Remove editable_text_utils cross-imports from material and cupertino … (Material, by @xfce0
- Updated default text styles for menus3.16.0breaking
default text styles used for menus are updated to match the Material 3 specification. The default text style for `MenuItemButton` (a widget used in a `MenuBar