Results for “Future”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Fixes future warning for `await`ing `Future` returns in `async` bodies inside `try` blocks3.44.0bugfix
Fixes future warning for `await`ing `Future` returns in `async` bodies inside `try` blocks (Web, by @FMorschel). Future
- Add await or ignore to future-returning methods defined in Dart SDK3.44.0new-feature
await or ignore to future-returning methods defined in Dart SDK (Framework, by @victorsanni
- Prevent `StateError: Bad state: Future already completed in Symbolizer` during stack symbolization.3.47.2bugfix
Prevent `StateError: Bad state: Future already completed in Symbolizer` during stack symbolization
- Deprecate WebGoldenComparator3.29.0deprecated
methods (`compareButes` and `updateBytes`). For example: ```dart // Before class MyWebGoldenComparator extends WebGoldenComparator { @override Future compare(double width, double height, Uri golden) { // will be removed in the migration
- [web] Delete unused futurize util3.41.0platform
Delete unused futurize util (Web, by @mdebbar
- Ignore unawaited_futures lint in dev/automated_tests3.44.0improvement
Ignore unawaited_futures lint in dev/automated_tests (Other changes, by @victorsanni
- Adding ImageProvider.loadBuffer3.3.0breaking
similarly to `instantiateImageCodec`. * `ImageProvider.load` is now deprecated, it will be removed in a future release. * `PaintingBinding.instantiateImageCodec` is now deprecated, it will be removed in a future
- Windowing integration tests now await change futures if a changes is expected + commenting our erroneous icon in Runner.rc for win323.38.0docs
Windowing integration tests now await change futures if a changes is expected + commenting our erroneous icon in Runner.rc for win32 (Other changes, by @mattkae
- Raw images on Web uses correct origin and colors2.10.0breaking
alpha, starting from the bottom left corner and going row first. Future parseMyImage(Uint8List image, int width, int height) async { final ui.ImageDescriptor descriptor = ui.ImageDescriptor.raw
- Deprecate RouteTransitionRecord.markForRemove3.32.0deprecated
popped. However, this didn't work when they were removed because the associated future was never completed. All Navigator methods have been updated to no longer call
- Deprecated RouteInformation.location3.13.0deprecated
myPath = myRoute.uri.path; ``` Code before migration: ```dart class MyObserverState extends State with WidgetsBindingObserver { @override Future didPushRoute(String route) => _handleRoute(route); } ``` Code after migration: ```dart class MyObserverState
- - Disallows certain types involving extension types from being used as the operand of an `await` expression, unless the extension type...3.19.3bugfix
operand of an `await` expression, unless the extension type itself implements`Future
- Stop generating AssetManifest.json3.19.0breaking
Flutter apps included an asset file named `AssetManifest.json`. This file effectively contains
- Deprecated just-in-time navigation pop APIs for Android Predictive Back3.16.0deprecated
To support Android 14's Predictive Back feature, a set of ahead