flutter/packages
Andrew Kolos 14bcc694ff
Fix AssetsEntry::equals (#143355)
In service of https://github.com/flutter/flutter/issues/143348.

**Issue.** The `equals` implementation of `AssetsEntry` is incorrect. It compares `flavors` lists using reference equality. This PR addresses this.

This also adds a test to make sure valid asset `flavors` declarations are parsed correctly.

While we are here, this PR also includes a couple of refactorings:
  * `flutter_manifest_test.dart` is a bit large. To better match our style guide, I've factored out some related tests into their own file.
  *  A couple of changes to the `_validateListType` function in `flutter_manifest.dart`:
      * The function now returns a list of errors instead of accepting a list to append onto. This is more readable and also allows callers to know which errors were found by the call.
      * The function is renamed to `_validateList` and now accepts an `Object?` instead of an `YamlList`. If the argument is null, an appropriate error message is contained in the output. This saves callers that are only interested in validation from having to write their own null-check, which they all did before.
      * Some error strings were tweaked for increased readability and/or grammatical correctness.
2024-02-14 00:11:24 +00:00
..
flutter Have FocusManager respond to app lifecycle state changes (#142930) 2024-02-13 23:27:19 +00:00
flutter_driver Upgrade leak_tracker. (#143236) 2024-02-09 14:41:22 -08:00
flutter_goldens Upgrade leak_tracker. (#143236) 2024-02-09 14:41:22 -08:00
flutter_localizations Upgrade leak_tracker. (#143236) 2024-02-09 14:41:22 -08:00
flutter_test [a11y] Add isEnabled semantics flag to text field (#143334) 2024-02-13 22:35:43 +00:00
flutter_tools Fix AssetsEntry::equals (#143355) 2024-02-14 00:11:24 +00:00
flutter_web_plugins Upgrade leak_tracker. (#143236) 2024-02-09 14:41:22 -08:00
fuchsia_remote_debug_protocol Upgrade leak_tracker. (#143236) 2024-02-09 14:41:22 -08:00
integration_test Update dependencies in integration test (#143111) 2024-02-13 20:29:35 +00:00
analysis_options.yaml Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00