commit | d935cb0d2f38ecdc3bf79f1b423b6ed33d66f2e5 | [log] [tgz] |
---|---|---|
author | stuartmorgan <stuartmorgan@google.com> | Wed Jun 07 22:34:57 2023 -0400 |
committer | GitHub <noreply@github.com> | Thu Jun 08 02:34:57 2023 +0000 |
tree | f24bbbee871d382439e6e006a4f5be10494218ae | |
parent | 010ba5012831a4e02349e31965a0b080d7b44280 [diff] |
[shared_preferences] Fix initialization race (#4159) During the NNBD transition, the structure of the completer logic in the initialization flow was incorrectly changed to set the field after an `await` instead of immediately. Also updates the error handling to handle `Error` the same way it currently handles `Exception`, which this change surfaced. Fixes https://github.com/flutter/flutter/issues/42407
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages
directory to see all packages.
These packages are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled “package”.
If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.
These are the packages hosted in this repository: