commit | 98580c6c82fc78d410faabfd39a97a042f39ed35 | [log] [tgz] |
---|---|---|
author | stuartmorgan-g <stuartmorgan@google.com> | Thu Sep 04 09:54:26 2025 -0400 |
committer | GitHub <noreply@github.com> | Thu Sep 04 13:54:26 2025 +0000 |
tree | 4e2cccb6b90a1e797f824fc41e8acbe094fae174 | |
parent | 0e220765c0f7aad26869dd617dbe376194c4f4e8 [diff] |
[mustache_template] Initial import (#9944) The `mustache_template` package has been transferred to the `flutter.dev` publisher, so this imports it into our repository and updates it to follow repository conventions: - Fix/suppress analysis warnings - Some via `dart fix`, some manual - Add repo-level metadata - Update license check command to recognize this package - Add a temporary code-excerpt exclusion - Update pubspec.yaml metadata - Bump version to 2.0.1 to release the changes `mustache_template` was itself a fork by a Flutter team member of the third-party `mustache` package, so the import is into `third_party/packages/`, updating the repo license check to recognize the license of this package. The original code is quite old, and as a result still used a lot of implicit dynamic typing. Some of that that has been addressed in this import, but the trickier aspects have been left for future work, as converting from implicit dynamic typing to specified types has the potential for runtime regressions. (It's possible that even the more minor changes made here will cause regressions that will need fast-follow, but all the tests still pass, and the manual `test/all.dart` tests do not have any failures that were not present before making changes to the imported code). Issues filed for future follow-up work: https://github.com/flutter/flutter/issues/174721 https://github.com/flutter/flutter/issues/174722 https://github.com/flutter/flutter/issues/174742 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
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: