material_ui 1.11.0
material_ui: ^1.11.0 copied to clipboard
The official Flutter Material UI Library, implementing Google's Material Design design system.
1.11.0 #
- Keeps the
Materialof aDialog.fullscreencovering the whole screen while the software keyboard is shown, so that a translucent keyboard shows the dialog's surface instead of the modal barrier behind it. - Fixes
InputDecoratorhit testing of a floating label, so taps hit the label where it is painted. - Makes
SearchAnchor.baruseSearchBarThemeData.paddingwhenbarPaddingis null. - Adds Material 3 Expressive support and selectable states for ElevatedButton.
- Adds
ElevatedButtonTheme.variantOf, which returns the closest non-nullElevatedButtonThemeData.variant, orStyleVariant.material3if none is set. - Extends the
Materialof aScaffoldpersistent bottom sheet behind the software keyboard whenresizeToAvoidBottomInsetis true, so that a translucent keyboard shows the sheet's surface instead of the scaffold's background color. - Fixes
RoundedRectSliderTrackShapepainting the inactive track segment over the end of the active one in right-to-left layouts. - Documents why
RefreshIndicatordoes not respond to a mouse on desktop and web, and how to support mouse input. - Fixes
SwitchandSwitch.adaptivethrowing aLateInitializationErroror a null check error when first painted during their press or toggle animation. - Adds
IconButtonTheme.variantOf, which returns the closest non-nullIconButtonThemeData.variant, orStyleVariant.material3if none is set. - Makes the default Material 3 primary TabBar indicator at least 24dp wide. Use a custom indicator to keep the previous width.
- Fixes DropdownMenu text cursor getting lost when disabled and re-enabled.
- Updates
InkSparkleto set its shader uniforms by name instead of withFragmentShader.setFloat. - Fix bottom sheet dismissal when its extent is within floating-point precision of its minimum extent.
- Fixes discrete
SliderandRangeSliderwith a rounded track selecting the neighboring division when tapping ticks near the ends of the track. - Fixes
InputDecoratorintrinsic height not matching its laid out height whenisDenseorisCollapsedis true. - Adds
Springs, the Material 3 Expressive spring tokens for the standard and expressive motion schemes. - Adds
SemanticsRole.tabBarandSemanticsRole.tabsemantics toNavigationRailand its destinations. - Exposes
expandedstate semantics onDrawerButton,EndDrawerButton, and theCalendarDatePickeryear-mode toggle button. - Fixes a disabled
DropdownButtonFormFieldshowing its decoration as enabled and reacting to hover. - Fixes a listener leak in modal bottom sheets that accumulated animation listeners each time the sheet was dragged.
1.10.0 #
- Updates the
Typographydocumentation to describe the 2021 (Material 3) geometry themes and the currentThemeData.typographydefaults. - Deprecates the
blackandwhiteparameters ofTypography.material2021, and documents that their colors are replaced with colors from thecolorScheme. - Fixes
MenuAnchorandMenuBarshortcut labels for unlocalized non-Unicode keys (such asTabandF1) on JavaScript web builds. - Adds
Checkbox.markInsetsandCheckboxThemeData.markInsets, which inset the check mark (and the indeterminate dash) within the checkbox without changing the size of the box itself. The mark and its stroke shrink proportionally. - Fixes an issue where pressing Escape does not close a MenuAnchor opened by a tap or click.
- Fixes
TextTheme.debugFillPropertiesto use the defaultThemeDatatext theme, instead ofTypography.material2018(...).black. - Fixes
Typography.debugFillPropertiesto use the defaultThemeDatatypography, instead ofTypography.material2014. - Fixes
GappedSliderTrackShapepainting the secondary track with the wrong position and corners in right-to-left layouts.
1.9.0 #
- Adds a
barFocusNodeparameter toSearchAnchor.barto allow external control over the focus of the underlyingSearchBar. - Fixes showTimePicker input mode failing to parse localized digits (e.g. Farsi, Arabic, Bengali, Myanmar, Thai, Nepali, French, German, Portuguese locales) by parsing hour/minute via MaterialLocalizations and handling localized leading zeros.
- Corrects the
Divider.colorandVerticalDivider.colordocumentation to describe the Material 3 fallback (ColorScheme.outlineVariant). - Fixes
MenuAnchorscrollbars inheriting system safe-area padding. - Fixes unlabeled tap target semantics in
SearchBar. - Adds
enableTapHandlingtoSearchAnchor. - Adds
dayBuilderandweekdayBuildercallbacks toCalendarDatePicker,DatePickerDialog, andshowDatePicker. - Adds
CalendarDatePickerDayDetailsandCalendarDatePickerWeekdayDetailsto provide metadata and default widgets to the builders.
1.8.0 #
- Adds
RoundedPolygonandCornerRoundingfor creating rounded polygonal shapes. - Adds
MaterialShapes, the catalog of predefined Material Design shapes. - Adds
MaterialShapeBorderfor drawing aRoundedPolygonas anOutlinedBorder, which morphs between shapes when lerped. - Adds an example that morphs through the shapes in
MaterialShapes.all. - Adds
enableInlinePredictiontoTextFormField. - Adds the
supportingTextPaddingproperty toInputDecorationandInputDecorationThemeData. - Adds an
enabledparameter toDropdownButtonFormFieldand makes itsonChangedparameter optional. Whenenabledis true, the field is interactive without anonChangedcallback. - Adds a Material 3 Expressive IconButton example.
- Fix
GridTilecrash when the incoming constraints are unbounded (e.g. inside a horizontally scrollingListView). - Adds
onTertiaryTapDown,onTertiaryTapUpandonTertiaryTapCanceltoInkResponseandInkWell, so a tertiary (middle) button click can be handled directly. - Clarifies how
Slider.labelcan be displayed for continuous sliders. - The FadeForwards page transition on Android now takes 20-40% less time to render thanks to snapshotting.
- Fixes the installation command in README.md
- Fixes
Theme.ofreturning a fallbackThemeDatawhoseplatformwas frozen to the firstdefaultTargetPlatformseen by the process. A subtree without aThemeancestor now adapts whendefaultTargetPlatformchanges, for example under aTargetPlatformVariantor the platform override.
1.7.0 #
- Accounts for
MediaQuery'sTextScalerwhen calculatingSnackBaraction overflow and removes unnecessary blank right spacing in multi-line layout. - Allows
TabBar.indicatorWeightof 0 when the indicator is supplied byTabBarThemeData. - Fixes showTimePicker input mode rejecting or misreading hours in locales that use a 24-hour format.
- Adds the
scrollPaddingproperty toDropdownMenuFormField, forwarding it to the underlyingDropdownMenu. - Fixes an Android semantics assertion when an
ExpansionTileis embedded in aWidgetSpan.
1.6.0 #
- Documents that
TextField.decorationis merged with the ambientInputDecorationThemerather than replacing it. - Fixes unresolved doc comment references.
- Fixes
NavigationIndicatornot repainting when the selected destination changes without pointer interaction. - Removes the unconditional
dart:ioimport fromAboutDialog, so thatmaterial_uiis correctly detected as supporting the web platform andshowAboutDialogno longer throws on the web when no application name is available. - Fix DropdownButtonFormField underline alignment at bottom.
- Fixes floating-point rounding errors when calculating values for discrete
SliderandRangeSlider. - Added
fontFeaturesandfontVariationsparameters toTextTheme.apply().
1.5.0 #
- Adds Material 3 Expressive support for IconButton.
- Exposes
selectedstate onAutocompleteoption semantics. - Wraps
DrawerHeaderinSemantics(header: true). - Adds
ignorePointertoTooltipThemeDatafor WCAG 1.4.13 Hoverable support. - Fixes decorations on
MenuItemButton.leadingIcon, such asBadge, being clipped to the icon's bounds in vertically expanding menus. - Introduces labelTextDirection property to InputDecoration.
- Adds support for standard, medium, and high contrast Material 3 color scheme baselines.
- Fixes LocalHistoryEntry leak when double tapping Drawer scrim
1.4.0 #
- Updates minimum supported SDK version to Flutter 3.47/Dart 3.13.
- Adds sortIconBuilder parameter to DataTable, PaginatedDataTable, and DataTableThemeData for custom sorting indicators.
- Fix
PopupMenuButtonnot announcing button semantics (enabled state, expanded state) when built with achildinstead of the default icon. - Fixes
DatePickerThemeData.todayBordercolor being overridden bytodayForegroundColorin the year selector. - Adds an alternative keyboard input method for RangeSlider in NavigationMode.directional.
1.3.0 #
- Adds
@awaitNotRequiredannotations to asynchronous functions that do not need to be awaited. - Adds an option for
MaterialPageRouteandMaterialPageto opt out of introducing a semantics route scope. - Fixes SliverGeometry maxPaintExtent assertion in CarouselView.weighted
- Corrects the Material 3 default style documentation for FilledButton to match its implementation.
- Adds support for customizing date input formatters via
CalendarDelegate.keyboardInputFormatters, allowing custom date input behavior in the Material date picker. - Adds a semanticLabel to MenuAnchor for the expanded menu overlay.
1.2.0 #
- Adds the
StyleVariantenum defining the Material 3 and Material 3 Expressive style variants.
1.1.1 #
- Constrains Slider and RangeSlider value indicator labels to the screen width, truncating with an ellipsis instead of clipping.
- Prevents stale asynchronous suggestions from replacing newer
SearchAnchorresults. - Fix RangeSlider thumb overlay remaining visible after touch interaction
1.1.0 #
- Add missing Widget of the Week videos to widget API docs.
- Exposes ink_sparkle shader asset in pubspec.yaml and removes stretch_effect shader.
- Fix Typo in Readme
- Fixes typos in library code and tests.
- SearchAnchor overlay expands to full-screen on viewport size change (e.g., on device rotation).
- Fixes https://github.com/flutter/flutter/issues/186154.
1.0.1 #
- Updates cupertino_ui dependency constraint to ^1.0.0.
1.0.0 #
- README updated for the full release of material_ui.
- Promotes the pre-release to 1.0.0.
0.0.3+1 #
- Replace unresolvable doc imports
- Added a main.dart example for the Pub "Example" tab that reference a curated list of existing examples.
0.0.3 #
- Fix API doc by clearing unsupported directives introduced by macros.
- Fix API doc references.
- Adds MaterialUiCompatibilityBridge for legacy flutter/material.dart compatibility.
0.0.2 #
- Copies over all Material code from flutter/flutter.
- Copies over Material localizations from flutter/flutter's flutter_localizations package.
- Unpins material_color_utilities.
- Migrates API doc samples and formatting.
- Updates minimum supported SDK version to Flutter 3.44/Dart 3.12.
0.0.1 #
- Initial setup of the
material_uipackage, preparing for decoupling Material widgets from the Flutter framework.