Container color optimization
A new `ColoredBox` widget has been added to the framework, and the `Container` widget has been optimized to use it if a user specifies a `color` instead of a `decoration`.
Every change Boring Doc has indexed from official sources: breaking-change guides, hotfix changelogs and release notes. Filter by category, impact, platform, series and evidence type.
174 changes · page 5 of 5
A new `ColoredBox` widget has been added to the framework, and the `Container` widget has been optimized to use it if a user specifies a `color` instead of a `decoration`.
Instances of `CupertinoTabBar` must have a `Localizations`parent in order to provide a localized `Semantics` hint. Trying to instantiate a `CupertinoTabBar` without localizations results in an assertion such as the following:
The generic type of `ParentDataWidget` has changed from `RenderObjectWidget` to `ParentData`.
`ImageCache` now has a method called `containsKey`. `ImageProvider` subclasses should not override `resolve`, but instead should implement new methods on `ImageProvider`. These changes were submitted as a single commit to the framework.
The `maxByteSize` of the `ImageCache` is no longer automatically made larger to accommodate large images.
`MouseTracker` and related symbols are moved from the `gestures` package, resulting in error messages such as undefined classes or methods. Import them from `rendering` package instead.
Removed `MouseTracker`'s methods `attachAnnotation`, `detachAnnotation`, and `isAnnotationAttached`.
[`CupertinoThemeData.brightness`] is now nullable.
This optimization improves performance for route transitions, but it may uncover missing calls to `setState` in your app.
no backwards-compatible way to make `AlertDialog` scrollable by default. Instead, the parameter will remain and you can set `scrollable` to true if you want a scrollable `AlertDialog`.
The state of a `TestTextInput` instance, a stub for the system's onscreen keyboard, is now reset between tests.
Add a field, `currentTextEditingValue`, to the `TextInputClient` interface to get the current value of an editable text field from a platform client.
A recent global key duplication detection refactor now requires `Element` subclasses that override the `forgetChild()` to call `super()`.
The `Route` class no longer manages its overlay entries in overlay, and its `install()` method no longer has an `insertionPoint` parameter. The `isInitialRoute` property in `RouteSetting` has been deprecated, and `Navigator.pop()` no longer returns a value.