Results for “Container”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Container color optimization1.17.0breaking
tester.pumpWidget(Container(color: Colors.red)); final Container container = tester.widgetList ().first; expect(container.decoration.color, Colors.red); // Or, a test may have specifically looked for the BoxDecoration, e.g.: expect(find.byType
- Deprecate containsSemantics in favor of isSemantics3.41.0deprecated
containsSemantics` partial matcher is deprecated and replaced by `isSemantics` to clarify intent and standardize matcher conventions. The `contains` prefix for partial matchers, such as `containsSemantics`, has been
- - Fix flickering of gaussian blurs in scrolling containers.3.19.4bugfix
flickering of gaussian blurs in scrolling containers
- - Avoid CFE crash when input contains invalid super parameters usage.3.3.3bugfix
Avoid CFE crash when input contains invalid super parameters usage
- - When a scroll view contains a `LayoutBuilder` on any platform, prevent null check crash.3.32.6bugfix
When a scroll view contains a `LayoutBuilder` on any platform, prevent null check crash
- - Reading Android clipboard may throw a security exception if it contains media1.22.3bugfix
Reading Android clipboard may throw a security exception if it contains media
- - ios: Visual glitch when scrolling a list in a Scaffold that has a Material and Container as bottomNavigationBar.2.10.3bugfix
glitch when scrolling a list in a Scaffold that has a Material and Container as bottomNavigationBar
- ListTile reports an error in debug when wrapped in a colored widget3.44.0breaking
When a widget with a non-transparent background color, such as a `Container` or `ColoredBox` that sets `color`, sits between a `ListTile` and its nearest `Material` ancestor
- - Apps crash during launch on Windows when run from paths containing non-ASCII characters.3.38.6bugfix
Apps crash during launch on Windows when run from paths containing non-ASCII characters
- - App crashes on latest versions when AnimatedContainer / Container height is set to 0 and throws uncaught exception3.3.3bugfix
crashes on latest versions when AnimatedContainer / Container height is set to 0 and throws uncaught exception
- - Fixes an issue where Flutter apps would not compile when using custom icon fonts that contain spaces.3.13.1bugfix
issue where Flutter apps would not compile when using custom icon fonts that contain spaces
- - Running `dart pub publish` with custom pub package server that has URL containing a path may fail.2.8.1bugfix
Running `dart pub publish` with custom pub package server that has URL containing a path may fail
- Fix `impellerc` crash on Windows when paths contain Unicode characters, and improve shader compiler error diagnostics.3.47.1bugfix
impellerc` crash on Windows when paths contain Unicode characters, and improve shader compiler error diagnostics
- - Fix crashes on web platforms that contains an extension type declaration where the extension type constructor invokes a redirecting...3.19.4bugfix
crashes on web platforms that contains an extension type declaration where the extension type constructor invokes a redirecting factory in its initializer
- When `analysis_options.yaml` contains flow-style `exclude:` sequences, `AnalysisOptionsMigration` converts the node to block style...3.47.2bugfix
When `analysis_options.yaml` contains flow-style `exclude:` sequences, `AnalysisOptionsMigration` converts the node to block style before appending to avoid `YamlEditor` assertion crashes
- New isSemantics and deprecate containsSemantics3.41.0deprecated
isSemantics and deprecate containsSemantics (Material, by @zemanux
- Improve Container color/decoration error message clarity3.41.0improvement
Improve Container color/decoration error message clarity (Framework, by @777genius
- Make sure that a Container doesn't crash in 0x0 environment3.44.0bugfix
Make sure that a Container doesn't crash in 0x0 environment (Framework, by @ahmedsameha1
- ImageCache and ImageProvider changes1.17.0breaking
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
- Allow Xcode build configuration to not contain flavor name3.47.0new-feature
Allow Xcode build configuration to not contain flavor name (iOS, by @alex-medinsh
- [flutter_tools] Fix wireless ADB device discovery when serial contains spaces3.47.0tooling
flutter_tools] Fix wireless ADB device discovery when serial contains spaces (Tooling, by @bkonyi
- Fix #160622: change containsWatchConpanion function to detect companion watch apps defined by only the project info file.3.41.0tooling
change containsWatchConpanion function to detect companion watch apps defined by only the project info file. (Tooling, by @garrettjavalia
- Enable deprecated_member_use_from_same_package for all packages containing tests of Dart fixes defined within the package3.41.0tooling
Enable deprecated_member_use_from_same_package for all packages containing tests of Dart fixes defined within the package (Framework, by @jason-simmons
- Actions API revision1.20.0breaking
Intent> { LogicalKeySet(LogicalKeyboardKey.enter): Intent(ActivateAction.key), }, child: Actions( actions: <LocalKey, ActionFactory>{ Activate.key: () => ActivateAction(), }, child: Container
- Trackpad gestures can trigger GestureRecognizer3.3.0breaking
Trackpad gestures on most platforms now send `PointerPanZoom` sequences and can trigger
- The Form widget no longer supports being a sliver3.35.0breaking
acted as a direct wrapper around its child. This design allowed a Form containing a sliver child (e.g., Form(child: other sliver)) to be treated
- Stop generating AssetManifest.json3.19.0breaking
Flutter apps included an asset file named `AssetManifest.json`. This file effectively contains a list of assets. Application code can read it using the `AssetBundle` API to determine
- The new Form, FormField auto-validation API1.22.0breaking
override Widget build(BuildContext context) { return FormField( autovalidate: true, builder: (FormFieldState state) { return Container(); }, ); } } ``` Code after migration: ```dart class MyWidget extends StatelessWidget { @override Widget build(BuildContext context
- Changing RawMenuAnchor close order3.44.0breaking
does not override the default implementation of `RawMenuAnchor.onCloseRequested` or your `RawMenuAnchor` does not contain submenus, no changes are required. If you have a custom implementation of `onCloseRequested
- Introduce new ColorScheme roles3.22.0breaking
color roles in `ColorScheme` include seven tone-based surfaces and containers, and twelve accent colors for primary, secondary, and tertiary groups. This update deprecates three existing color
- Deprecate findChildIndexCallback in favor of findItemIndexCallback in ListView and SliverList separated constructors3.41.0deprecated
The `findChildIndexCallback` parameter in `ListView.separated` and `SliverList.separated` constructors have been deprecated in
- Annotations return local position relative to object1.17.0breaking
screen. Searching the annotations with a location gives the contextual information that contains that location. They are used to detect mouse events and the theme
- Deprecated Paint.enableDithering3.16.0deprecated
default. For example, if you use [`matchesGoldenFile`][] to test a widget that contains a gradient: ```console $ flutter test --update-goldens ``` While this is not expected
- Insert content text input client3.10.0breaking
notifying the Dart code that the IME inserted rich content. The channel message contains the mime type, URI, and bytedata for the inserted content in JSON form
- Adding 'linux' and 'windows' to TargetPlatform enum1.17.0breaking
enum is now defined as: Prior to this change, the `TargetPlatform` enum only contained four values, and was defined like this: In order to migrate
- Set default for SystemUiMode to Edge-to-Edge3.27.0breaking
Edge-to-edge mode is Android's default display behavior as of
- Introducing package:flutter_lints2.5.0breaking
The `package:flutter_lints` defines the latest set of recommended lints that
- Default drag scrolling devices2.5.0breaking
made it difficult to execute other mouse gestures, like selecting text that was contained in a `Scrollable` widget. ### Setting a custom `ScrollBehavior` for your application Code before
- Scrollable AlertDialog1.17.0breaking
Flutter's debug build. Any semantics golden updates that reflect the scrolling container addition are expected and these diffs should be safe to accept. Sample resulting Semantics
- New APIs for Android plugins that render to a Surface3.24.0breaking
The Android embedder for Flutter introduces a new API, `SurfaceProducer`, which allows
- Migrate RawKeyEvent/RawKeyboard system to KeyEvent/HardwareKeyboard system3.19.0breaking
RawKeyEvent` APIs. Some APIs relating to platform specific information contained in [`RawKeyEventData`][] objects or their subclasses have been removed and are no longer supported. One exception
- Use maxLengthEnforcement instead of maxLengthEnforced2.0.0breaking
To control the behavior of `maxLength` in the `LengthLimitingTextInputFormatter`, use `maxLengthEnforcement` instead