Results for “MaterialLocalizations”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
API reference
- MaterialLocalizationsclass
Defines the localized resource values used by the Material widgets. material.MaterialLocalizations MaterialLocalizations Material Localizations class material
- MaterialLocalizations.newconstructor
material.MaterialLocalizations.MaterialLocalizations.new MaterialLocalizations new Material Localizations.new constructor material
- material.debugCheckHasMaterialLocalizationsfunction
Asserts that the given context has a Localizations ancestor that contains a MaterialLocalizations delegate. material.debugCheckHasMaterialLocalizations debugCheckHasMaterialLocalizations debug Check Has Material Localizations function material
- GregorianCalendarDelegate.newconstructor
calendar delegate that uses the Gregorian calendar and the conventions of the current MaterialLocalizations. material.GregorianCalendarDelegate.GregorianCalendarDelegate.new GregorianCalendarDelegate new Gregorian Calendar Delegate.new constructor material
Version changes
- Moved ReorderableListView's localized strings3.13.0breaking
your code, you can access them from `WidgetsLocalizations`instead. Code before migration: ```dart MaterialLocalizations.of(context).reorderItemToStart; ``` Code after migration: ```dart WidgetsLocalizations.of(context).reorderItemToStart; ``` If you override `MaterialLocalizations
- 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
- Deprecated API removed after v3.133.16.0removed
life after the 3.13 stable release have been removed. DeletableChipAttributes Chip RawChip InputChip MaterialLocalizations.deleteButtonTooltip MaterialButtonWithIconMixin TextButton OutlinedButton ElevatedButton PlatformsViewsService PlatformViewsService TextSelectionOverlay SelectionOverlay.fadeDuration TextSelectionOverlay.fadeDuration SelectionOverlay RenderEditable ScrollBehavior MaterialScrollBehavior ThemeData
- Migrate to standalone material_ui and cupertino_ui packagesunreleasedbreaking
The Material and Cupertino design libraries are now available as standalone packages