[wiki migration] Framework team pages (#148721)
This sorts the wiki pages owned by the Framework team in the docs/ directory as planned in [flutter.dev/go/migrate-flutter-wiki-spreadsheet](https://docs.google.com/spreadsheets/d/1x65189ZBdNiLRygpUYoU08pwvXD4M-Z157c6pm8deGI/edit?usp=sharing) It also adds the framework related labels to the bot for future PRs. Changes to the content were only updating cross links. The remaining wiki links will be updated after the rest of the pages are relocated, the original wiki links still work in the meantime. Part of https://github.com/flutter/flutter/issues/145009
This commit is contained in:
@@ -1,181 +0,0 @@
|
||||
The framework gardener role currently makes use of several tools and communication channels only available to Google employees. See [On-call scheduling for Flutter] for an overview of work required to make this process more open.
|
||||
|
||||
## Objective
|
||||
|
||||
The framework gardener's role is to eliminate impediments to engineering velocity on the framework, tool, and related teams working on the [Flutter framework][flutter/flutter] repository, to unblock rolls into the repository, and to minimize the latency with which critical fixes arrive in our customers' hands. To that end, we maintain a rotation so that there is a clear owner and point of contact for Flutter repo issues, and so that engineers can plan their work around an assumption of reduced productivity during their rotation.
|
||||
|
||||
The framework gardener's core responsibilities are:
|
||||
* Keep the framework tree green to keep developers, upstream autorollers, and the release process unblocked.
|
||||
* Ensure others are informed of issues which may affect them.
|
||||
* Ensure bugs/investigations are delegated and taken care of by the right person, which may be themself.
|
||||
|
||||
Gardener responsibility does not include:
|
||||
* Work beyond working hours. **Tree redness does not trump work-life balance.** Contributors may escalate issues outside of the gardener's working hours, but the gardener is not responsible for responding until the next work day.
|
||||
* Personally investigate issues or fix bugs, unless the right person to investigate and fix is the gardener themself.
|
||||
|
||||
As such, the gardener should use their badge and hat to:
|
||||
* Aggressively roll back problematic changes.
|
||||
* Delegate investigations/issues to the right engineer(s) on the team, and follow-up.
|
||||
* Detect infrastructure issues that cause test failures and flakiness and report to the infrastructure team.
|
||||
* Notify the engine sheriff when an engine roll causes the [flutter/flutter] tree to close.
|
||||
* Proactively communicate issues/status to others upstream/downstream.
|
||||
|
||||
## Rotation
|
||||
Rotations are managed in the [Rotations tool]. The [Framework Gardener calendar] can be added to your calendar. Both of these links are currently Google internal.
|
||||
|
||||
Team members are not expected to participate in multiple Flutter rotations. For example, those on the engine rotation are exempt and vice versa. New team members should be added to a single rotation, depending on the team to which they belong.
|
||||
|
||||
Before heading out on holiday, or if you get to your shift and find you can't do it, check the upcoming rotations and find a volunteer to swap shifts with while you're out. During some holiday periods when many team members are out and activity is particularly low on the tree, it may not be essential to have a dedicated gardener.
|
||||
|
||||
## Periodic scan
|
||||
Open the [Framework build dashboard].
|
||||
1. If the tree is closed, identify which test shards are failing. If there are yellow boxes with an exclamation point, that means that the failed tests are automatically re-running themselves. The tree is not fully closed until there are solid red boxes or red boxes with exclamation points. You can begin investigation as soon as you notice the tree going red, but it is suggested not to begin escalation until re-runs have completed.
|
||||
1. Identify which test within the shard failed, and try to locate obvious errors or failures in the logs. This procedure will be different if the failure is in [devicelab](#handling-a-devicelab-failure) or [LUCI](#handling-a-luci-failure).
|
||||
1. Update the [tree-status channel] on [Discord] with an announcement that the tree is red, the affected shard(s), and the failure message from the logs.
|
||||
1. Cross reference the failure with the commit in question. If it is obvious the PR in question caused the failure, [revert](#reverting-commits) immediately.
|
||||
1. Search through the [Flutter issues] for any existing issues with the same error. Some flakes are not specific to a specific test suite, but are nonetheless flakes and should not require a revert.
|
||||
1. If the failure is happening on an engine roll, [escalate to the engine sheriff](#handling-an-engine-roll-failure).
|
||||
1. If the test failure is not a known flake or infrastructure issue, [revert it immediately](#reverting-commits).
|
||||
1. Escalate to the [test owner][TESTOWNERS].
|
||||
1. When the tree reopens, announce it in the [tree-status channel] on [Discord].
|
||||
1. If the tree is open, investigate green exclamation point squares, which are tests that have failed, rerun, and then passed. They may be [flaky and warrant an investigation](#handling-a-flaky-test). They also may have hit an intermittent infrastructure issue.
|
||||
1. Check [benchmarks](#handling-a-benchmark-regression) for regressions. File issues and escalate.
|
||||
|
||||
Unmute the [tree-status channel] and [hackers-infra channel] on [Discord]. Contributors are encouraged to escalate tree closures to you. Respond there as quickly as possible.
|
||||
|
||||
### Escalation
|
||||
Escalate to the [test owner][TESTOWNERS]. File GitHub issues if none are already open.
|
||||
1. The title should include the name of the failing test.
|
||||
1. Assign the issue to the test owner with a `P1` priority.
|
||||
1. Add the `team` label.
|
||||
1. Include links to the failing tests. Download any relevant logs and attach them to the issue, even if the link to the failing tests has the same information. This prevents the issues from becoming stale when logs are expunged.
|
||||
1. @ mention the test owner in the [tree-status channel] on [Discord] with a link to the GitHub issue. If they are unavailable, escalate to another team member. Continue escalating until someone acknowledges the issue is being investigated.
|
||||
1. Investigation updates and questions should not be posted in the [tree-status channel]. This channel should remain free of noise to discourage notification muting.
|
||||
|
||||
### Handling a devicelab failure
|
||||
See [Why Flutter Devicelab Tests Break].
|
||||
1. If devicelab square (Android, Apple, or Windows icon) is red or yellow, click the square and click the _Download All Logs_ button. Note these logs may include the output from several test runs, since they will automatically rerun on failure to detect flakes.
|
||||
1. If many different tests are failing on the same agent, this may be an indication of infra failure. File an [infrastructure ticket] if needed.
|
||||
1. Note that phones occasionally require manual reboot. If this occurs, escalate on the [hackers-infra channel] on [Discord] file an [infrastructure ticket].
|
||||
|
||||
### Handling a Firebase Test Lab failure
|
||||
The devices in the Firebase test lab are not managed by the Flutter infra team.
|
||||
|
||||
1. The LUCI logs will typically list the device that the test failed for. Check the logs for a Firebase link that will contain logs from the failing device. [Example log](https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8772117221814493585/+/u/test_execution/gcloud_firebase__2_/stdout).
|
||||
1. If the failure described in the logs does not appear to be related to a recent commit, contact the [omnilab-ftl-flutter](https://groups.google.com/a/google.com/g/omnilab-ftl-flutter/about) group.
|
||||
1. Alternatively, check the LUCI log for instructions on how to notify Firebase via Slack.
|
||||
|
||||
### Handling a LUCI failure
|
||||
1. If Chrome icon (LUCI) square is red, click the red square and _Open Log for Build #1234_ to see the failing test in LUCI.
|
||||
1. File an [infrastructure ticket] if needed.
|
||||
|
||||
### Reverting commits
|
||||
If the test failure is not a known flake or infrastructure issue, revert the commit immediately.
|
||||
|
||||
If the commit landed within the last 24 hours:
|
||||
1. Locate the patch PR and add the `Revert` label. Our infrastructure will automatically create a revert PR and land it.
|
||||
|
||||
If the commit could not be automatically reverted:
|
||||
1. Create a revert pull request from the bad merged pull request via the "Revert" button at the bottom.
|
||||
1. Add the `revert` label to the PR to allow the bot to land it without approval.
|
||||
1. Add the original author to the as a reviewer so they are notified. If they are not a member of [flutter-hackers], also include the original pull request reviewers.
|
||||
1. In "Related Issues" add a link to any GitHub issues that describe the failure.
|
||||
1. @ mention the author in the [tree-status channel] with a link to the revert pull request. If they are unavailable, send an email. If they are not a [Flutter committer][flutter-hackers] and are not on Discord, escalate to the reviewers of the original pull request.
|
||||
1. As soon as the `analyze-linux` test passes, merge it. You do not need to wait for all presubmit tests to pass, or for an LGTM.
|
||||
1. Reopen any issues that were automatically closed by the original commit. Add a comment: "This has been reverted with pull request #1234."
|
||||
|
||||
### Handling a flaky test
|
||||
Flakes are particularly productivity-killing since they silently trigger all of the key problems the gardener is meant to prevent: red tree status. As such flakes should be treated in the same way a reproducible breakage is treated -- as though it were always failing.
|
||||
|
||||
If you see a test failure that appears to be a flake:
|
||||
1. Re-trigger the test.
|
||||
1. If the build fails to fail (i.e. "passes"), it's a flake and should be treated as a failing test.
|
||||
1. Follow the instructions in this guide to find or create a new GitHub issue.
|
||||
1. If the test has neither been recently introduced, nor recently changed, disable the test. The test owner will turn it back on or delete the test as part of their investigation.
|
||||
|
||||
### Handling an engine roll failure
|
||||
If the failure is happening on an engine roll, contact the [Engine Sheriff chat] so the engine sheriff can locate and revert the engine or upstream commit(s) causing the issue.
|
||||
|
||||
Coordinate with the engine sheriff on pausing and unpausing the [Engine to Framework autoroller] during this process.
|
||||
|
||||
### Handling a benchmark regression
|
||||
Check [framework benchmarks] for regressions. File issues and escalate.
|
||||
|
||||
Review [engine benchmarks] for any regressions. Choose the _Triage_ item on the left, and walk through new issues. For each commit that caused a regression you'll see marks in columns corresponding to the regression --- those marks indicate whether the results at that commit are low or high.
|
||||
|
||||
Click a mark, and you'll be taken to a popup with the plot of recent data around the commit in question. From here you can:
|
||||
1. Choose _View Dashboard_ to see long term trends around the commit. (When in the dashboard you can use the WASD keys to zoom in and out).
|
||||
1. Click the commit to get a sub-popup with a link that can take you to the commit in question.
|
||||
|
||||
If there is a new regression not deemed to be noise in a benchmark:
|
||||
1. [Add a new issue to Github][new issue]
|
||||
1. Label the issue with `team: benchmark`, and `severe:regression` labels. Label it with the `severe:performance` label if the benchmark is a performance one.
|
||||
1. Paste a link to the performance plot from skia-perf into the bug. This is a "permalink", and will help others see what you're seeing.
|
||||
1. Determine the CL at which the regression started and label with which part of the codebase might be causing the problem and whoever submitted the CL if possible.
|
||||
1. Attempt to determine the team who should receive the issue. Usually the suspect roll is a clue.
|
||||
1. Assign an initial priority.
|
||||
1. Reserve `P0` for regressions significantly (1.5x or more) above the noted baselines, or with regular spikes that suggests a possible issue with the device lab.
|
||||
1. Reserve `P2` for issues where slow creep appears to be happening.
|
||||
1. Note the bug ID in the comment where you address the regression in skia-perf and reject the benchmark (click the _X_).
|
||||
1. Notify the target teams where you've identified regressions on [Discord], and include links. When you do so, make sure you @ someone (ideally the TL for that team) so that it's noticed.
|
||||
1. Notify the Flutter engine sheriff and Flutter Hackers Discord chats with any issues you file.
|
||||
If it's noise, accept the benchmark by clicking the checkbox in the triage details popup.
|
||||
|
||||
## Filing an infra ticket
|
||||
1. Open a [new infra issue].
|
||||
1. Add a descriptive title. A message like "Add a LUCI builder for linux web engine" or "Debug gallery startup" is much more helpful than "quick request" or "test doesn't work?".
|
||||
1. Clearly describe the issue or request in the description field. For example, if a ticket is requesting running several commands on the bots, the ticket should explain why, what commands are needed, on which bots and how to verify the results.
|
||||
1. Add the `team: infra` label and a priority label:
|
||||
* `P0` (immediate): Such as a build break or regression.
|
||||
* Fix as soon as possible, before any other work.
|
||||
* Should be very rare, and only used when critical work is blocked without a workaround.
|
||||
* Ideally is downgraded to P1 as soon as a workaround is found.
|
||||
* `P1` (high): Users are suffering but not blocked; or, an immediate-level incident will happen if this is not addressed (e.g., almost out of quota).
|
||||
* Fix today (8 business hours).
|
||||
* Degraded service (Build bots work but are slow to start).
|
||||
* Time-sensitive requests.
|
||||
* Should be relatively rare.
|
||||
* Anything below `P1` is not suitable for the infra ticket queue and will be treated as a normal infra bug.
|
||||
1. Add the project "Infra Ticket Queue".
|
||||
1. Click the create button. No need to set an assignee; infra oncall will handle all new tickets.
|
||||
|
||||
## Communication channels (public)
|
||||
The bulk of communication happens on [Discord].
|
||||
* Tree closure escalation and announcements: [tree-status channel].
|
||||
* Infra issues: [hackers-infra channel]
|
||||
* Infrastructure tickets: File an [infrastructure ticket].
|
||||
|
||||
## Communication channels (Google-internal)
|
||||
* Engine issues: [🐣 Flutter Engine Sheriff ($USERNAME) ⛑️][Engine Sheriff chat]
|
||||
* LUCI help chat: [LUCI Users][LUCI Users chat]
|
||||
|
||||
## References
|
||||
* [Flutter Engine Sheriff Playbook] (Google internal)
|
||||
* [On-call scheduling for Flutter]
|
||||
|
||||
[infrastructure ticket]: #filing-an-infra-ticket
|
||||
|
||||
[flutter/flutter]: https://github.com/flutter/flutter
|
||||
[Flutter issues]: https://github.com/flutter/flutter/issues
|
||||
[TESTOWNERS]: https://github.com/flutter/flutter/blob/master/TESTOWNERS
|
||||
[flutter-hackers]: https://github.com/orgs/flutter/teams/flutter-hackers
|
||||
[new issue]: https://github.com/flutter/flutter/issues/new
|
||||
[new infra issue]: https://github.com/flutter/flutter/issues/new
|
||||
|
||||
[Framework build dashboard]: https://flutter-dashboard.appspot.com/#/build
|
||||
[framework benchmarks]: https://flutter-flutter-perf.skia.org/e/
|
||||
[engine benchmarks]: https://flutter-engine-perf.skia.org/e/
|
||||
|
||||
[Discord]: https://discord.gg/BS8KZyg
|
||||
[tree-status channel]: https://discord.com/channels/608014603317936148/613398423093116959
|
||||
[hackers-infra channel]: https://discord.com/channels/608014603317936148/608021351567065092
|
||||
[Engine Sheriff chat]: http://go/engine-sheriff
|
||||
[LUCI Users chat]: https://mail.google.com/chat/u/0/#chat/space/AAAAXGgrwSo
|
||||
|
||||
[Rotations tool]: https://rotations.corp.google.com/rotation/5721991649689600
|
||||
[Framework Gardener calendar]: https://calendar.google.com/calendar/render?cid=c_him0pti4q5k4h9999u2dv9oouk@group.calendar.google.com
|
||||
|
||||
[Flutter Engine Sheriff Playbook]: https://goto.google.com/engine-sheriff
|
||||
[On-call scheduling for Flutter]: https://docs.google.com/document/d/1i-11by4J3zvxWG3qLMm4MKfJ8DrjIJna6DPA9tBmJWc/edit#heading=h.w8bl5vic6x95
|
||||
|
||||
[Engine to Framework autoroller]: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll?tab=status
|
||||
@@ -1,64 +0,0 @@
|
||||
## Preqrequisites
|
||||
|
||||
* Linux, Mac OS X, or Windows
|
||||
|
||||
* `git` (used for source version control)
|
||||
|
||||
* An IDE, such as [Android Studio with the Flutter plugin](https://docs.flutter.dev/development/tools/android-studio) or [VS Code](https://docs.flutter.dev/development/tools/vs-code)
|
||||
|
||||
* Android platform tools
|
||||
- Mac: `brew install --cask android-platform-tools`
|
||||
- Linux: `sudo apt-get install android-tools-adb`
|
||||
|
||||
Verify that `adb` is in your [PATH](https://en.wikipedia.org/wiki/PATH_(variable)) (that `which adb` prints sensible output).
|
||||
|
||||
If you're
|
||||
[also working on the Flutter engine](https://github.com/flutter/flutter/wiki/Setting-up-the-Engine-development-environment),
|
||||
you can use the copy of the Android platform tools in
|
||||
`.../engine/src/third_party/android_tools/sdk/platform-tools`.
|
||||
|
||||
* Python (used by some of our tools)
|
||||
|
||||
## Set up your environment
|
||||
|
||||
1. Clone the flutter/flutter repo using either SSH or HTTPS (SSH is recommended, but requires a working [SSH key](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/about-ssh) on your GitHub account):
|
||||
- SSH: `git clone git@github.com:flutter/flutter.git`
|
||||
- HTTPS: `git clone https://github.com/flutter/flutter.git`
|
||||
|
||||
1. Change into the directory of the cloned repository and rename the origin remote to upstream:
|
||||
1. `cd flutter`
|
||||
1. `git remote rename origin upstream`
|
||||
|
||||
1. [Fork the flutter/flutter repo](https://github.com/flutter/flutter/fork) into your own GitHub account.
|
||||
|
||||
1. Add your fork as the origin remote to your local clone either using SSH or HTTPS (SSH is recommended, but requires a working [SSH key](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/about-ssh) on your GitHub account) by replacing ████████ with your GitHub account name:
|
||||
- SSH: `git remote add origin git@github.com:████████/flutter.git`
|
||||
- HTTPS: `git remote add origin https://github.com/████████/flutter.git`
|
||||
|
||||
1. Verify the upstream and origin repository you've specified for your clone.
|
||||
- `git remote -v`
|
||||
|
||||
1. Add the repo's `bin` directory to your [PATH](https://en.wikipedia.org/wiki/PATH_(variable)): e.g. on UNIX, using `export PATH="$PATH:$HOME/<path to flutter repository>/bin"`
|
||||
|
||||
- If you already have a Flutter installation you will either need to remove it from your PATH, or use a full path whenever you are running `flutter` in this repository. If you have version solving errors when trying to run examples below, you are running a version of Flutter other than the one checked out here.
|
||||
|
||||
1. `flutter update-packages`
|
||||
|
||||
This will recursively fetch all the Dart packages that
|
||||
Flutter depends on. If version solving failed, try `git fetch upstream` to update Flutter versions before `flutter update-packages`.
|
||||
|
||||
|
||||
> **Tip**
|
||||
> If you plan on using IntelliJ as your IDE, then also run
|
||||
> `flutter ide-config --overwrite` to create all of the IntelliJ configuration
|
||||
> files so you can open the main flutter directory as a project and run examples
|
||||
> from within the IDE.
|
||||
|
||||
|
||||
Next steps:
|
||||
|
||||
* [[Running examples]], to see if your setup works.
|
||||
* [[The flutter tool]], to learn about how the `flutter` command line tool works.
|
||||
* [[Style guide for Flutter repo]], to learn how to write code for Flutter.
|
||||
* [[Tree hygiene]], to learn about how to submit patches.
|
||||
* [[Signing commits]], to configure your environment to securely sign your commits.
|
||||
@@ -1,50 +0,0 @@
|
||||
## How to view test coverage
|
||||
|
||||
When you run `flutter update-packages`, we download the latest coverage data for `package:flutter` to `packages/flutter/coverage/lcov.info`. This data isn't synchronized to your git revision, so expect discrepancies between your git repo and the coverage file. Usually, this version skew isn't too harmful, but it's valuable to be aware that it might exist.
|
||||
|
||||
⚠️ Currently, the latest test coverage data is stale by a few years because of [flutter#81803](https://github.com/flutter/flutter/issues/81803). You will need to [recompute this data manually](#how-recompute-test-coverage-slowly) to view test coverage.
|
||||
|
||||
### Visual Studio Code
|
||||
|
||||
Here is how to show test coverage information in Visual Studio Code:
|
||||
|
||||
1. Install the [Coverage Gutters](https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters) extension.
|
||||
2. Open a `dart` file in `packages/flutter/lib/src`. You should see green and red highlights next to line numbers in the gutter. The green lines mean this line was executed in a test. The red line means that this line is a candidate for execution but was not executed in a test. The status bar at the bottom should also report the current file's code coverage percentage.
|
||||
|
||||
If you run into issues, check for errors in the `Output` pane under the `coverage-gutters` output stream.
|
||||
|
||||
### Atom
|
||||
|
||||
Here is how to show test coverage information in Atom:
|
||||
|
||||
1. Install the [lcov-info](https://atom.io/packages/lcov-info) package. This package has a few quirks to its UI, but it generally seems to work.
|
||||
|
||||
2. Open `packages/flutter` in Atom. The lcov-info plugin only seems to work if you open `packages/flutter` directly (as opposed to opening one of its parent directories).
|
||||
|
||||
3. Open a `dart` file in the `lib/src` directory. For some reason, you need to have a Dart file open in order to activate the lcov-info plugin.
|
||||
|
||||
4. Activate the lcov-info package using the `Packages > Lcov Info > Toggle` menu command.
|
||||
|
||||
5. At this point, you should see green and red highlighted lines in `dart` files (hopefully more green than red) as well as a scrollable list of the coverage percentages for each file in `package:flutter`. The green lines mean this line was executed in a test. The red line means that this line is a candidate for execution but was not executed in a test. Lines that are highlighted are not considered candidates for execution. Some of the non-highlighted lines are a bit surprising (e.g., return statements or constant declarations), but they appear to be correct.
|
||||
|
||||
### Emacs
|
||||
|
||||
If you use Emacs, you can use the `coverlay` package. Use `coverlay-load-file` to specify the `.../packages/flutter/coverage/lcov.info` file, configure `coverlay:base-path` to point to the `.../packages/flutter`, and configure other aspects of the `coverlay` package as you desire.
|
||||
|
||||
### Coveralls
|
||||
|
||||
The easiest way to see our overall test coverage used to be using the [Flutter page on Coveralls](https://coveralls.io/github/flutter/flutter?branch=master). The graph at the top is supposed to be updated with green commit to the master branch. Unfortunately, Coveralls has been broken for Flutter for a long time and no progress has been made to resolve [the issue](https://github.com/lemurheavy/coveralls-public/issues/1103).
|
||||
|
||||
## How to recompute test coverage quickly
|
||||
|
||||
If you're using a Linux machine, you can see the updated coverage after adding a test quickly using the `--merge-coverage` option to `flutter test`. For example, suppose you added a test case to `test/material/dialog_test.dart`. You can run `flutter test --merge-coverage test/material/dialog_test.dart` to run just that one test and merge the coverage data into your view. In Atom, to get lcov-info to see the new data, sometimes you need to change tabs. In Emacs, to see new data, press `C-c C-l g`.
|
||||
|
||||
Merging coverage works by combining the `packages/flutter/coverage/lcov.base.info` coverage data, which `flutter update-packages` downloaded from the cloud, with the coverage data from that one test run. The combined data is written back into `packages/flutter/coverage/lcov.info`, where it is picked up by the lcov-info plugin.
|
||||
|
||||
Each time you run `--merge-coverage`, the tool goes back to the original `lcov.base.info` data before adding the current run. If you want to see the change in coverage when changing more than one test file, you'll need to pass all the test file names explicitly on the command line.
|
||||
|
||||
## How recompute test coverage slowly
|
||||
|
||||
If you want to recompute coverage data from scratch, you can use the `--coverage` flag. For example, `cd packages/flutter && flutter test --coverage`.
|
||||
|
||||
The `lcov.base.info` file is generated automatically by bots and recomputing from scratch is unnecessary. It is fetched when you run `flutter update-packages`.
|
||||
@@ -1,6 +0,0 @@
|
||||
The following documents and videos describe the Flutter framework's architecture:
|
||||
|
||||
* [Technical Overview (on flutter.dev)](https://flutter.dev/docs/resources/technical-overview)
|
||||
* [Inside Flutter (on flutter.dev)](https://flutter.dev/docs/resources/inside-flutter)
|
||||
* [The Mahogany Staircase - Flutter's Layered Design (on YouTube)](https://www.youtube.com/watch?v=dkyY9WCGMi0)
|
||||
* [Flutter's Rendering Pipeline (on YouTube)](https://www.youtube.com/watch?v=UUfXWzp0-DU)
|
||||
@@ -1,5 +0,0 @@
|
||||
The process to update the framework's Material fonts (currently, Roboto) and [icons](https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/icons.dart) has been largely simplified and automated. See [go/effortless-flutter-font-updates](http://go/effortless-flutter-font-updates) (Google-only, sorry). The steps used prior to automation are available in this page's history.
|
||||
|
||||
If you notice an issue with fonts or icons (e.g. a missing icon), please file an [issue](https://github.com/flutter/flutter/issues/new/choose). Consider starting the issue title with `[Fonts]` or `[Icons]` to make it stand out.
|
||||
|
||||
_(This page is referenced by comments in the Flutter codebase.)_
|
||||
@@ -1,23 +0,0 @@
|
||||
When editing Flutter code, it's important to check the code with the
|
||||
analyzer.
|
||||
|
||||
If your IDE supports doing this automatically (e.g. using Android Studio with the Flutter plugin),
|
||||
then that is the easiest solution.
|
||||
|
||||
Alternatively, you can use the `flutter analyze --flutter-repo` tool on the console. When using the
|
||||
console, you will want to manually run `flutter update-packages` each time you update your tree, so
|
||||
that the `pubspec.yaml` files are processed to obtain all the dependencies for every package in the
|
||||
repository. If you don't do this, you may get bogus error messages about core classes like `Offset`
|
||||
from `dart:ui`. This is because `flutter analyze` does not automatically attempt to update dependencies,
|
||||
since doing so can take a long time and is only necessary when the tree has been updated.
|
||||
|
||||
For a one-off, use `flutter analyze --flutter-repo`.
|
||||
|
||||
For continuous analysis, use `flutter analyze --flutter-repo --watch`.
|
||||
|
||||
If you omit the `--flutter-repo` option you may end up in a confusing state because that will
|
||||
assume you want to check a single package and the flutter repository has several packages.
|
||||
|
||||
You can use the `--write` argument with `--watch` to cause each update to write all the results to a file
|
||||
in ASCII. This can be used e.g. with Emacs' `compile` mode to quickly dump all the latest analysis results
|
||||
into the compilation buffer so that they are recognized as error messages that Emacs can jump to.
|
||||
@@ -1,230 +0,0 @@
|
||||
Tests are a critical framework tool for stability and education. Tests fulfill the following roles:
|
||||
|
||||
* Automatically protect against regressions
|
||||
* Define an executable specification that engrains original intent
|
||||
* Educate other developers about why and how to use an API
|
||||
|
||||
To facilitate the above roles, there are some practices to keep in mind when writing tests:
|
||||
|
||||
## Name tests based on the behavior being tested
|
||||
|
||||
It is common to find tests that are simply named after the object under test rather than the behavior under test. For example, a developer might find tests that look like the following:
|
||||
|
||||
```dart
|
||||
// Bad test name
|
||||
test('ListView', () {...});
|
||||
|
||||
// Bad test name
|
||||
test('RenderViewport', () {...});
|
||||
|
||||
// etc.
|
||||
```
|
||||
|
||||
The above test names do not communicate anything useful to the developer reading the tests. The developer probably already knows which object is being tested, so these names are no better than an empty string. Instead, each test should succinctly declare the behavior under test and/or the expected results:
|
||||
|
||||
```dart
|
||||
// Better test name
|
||||
test('Shrink-wrapped ListView resizes to match its content height', () {...});
|
||||
|
||||
// Better test name
|
||||
test('RenderViewport applies its offset to all child Slivers', () {...});
|
||||
|
||||
// etc.
|
||||
```
|
||||
|
||||
## One behavior per test
|
||||
|
||||
It is common to find single tests that exercise multiple behaviors:
|
||||
|
||||
```dart
|
||||
// Single test that tests multiple behaviors
|
||||
test('SliverGeometry', () {
|
||||
expect(const SliverGeometry().debugAssertIsValid(), isTrue);
|
||||
expect(() {
|
||||
const SliverGeometry(layoutExtent: 10.0, paintExtent: 9.0).debugAssertIsValid();
|
||||
}, throwsFlutterError);
|
||||
expect(() {
|
||||
const SliverGeometry(paintExtent: 9.0, maxPaintExtent: 8.0).debugAssertIsValid();
|
||||
}, throwsFlutterError);
|
||||
});
|
||||
```
|
||||
|
||||
Don't test multiple behaviors in a single test. When multiple behaviors exist within a test then reported test failures become misleading. Is one thing broken, or many things? Is one method broken, or multiple methods, or are entire object interactions broken? When multiple behaviors exist in a single test then a broken test requires a developer to carefully analyze the code within the test just to get a feel for the magnitude of the bug. Add to this fact that the name of the test probably does not explain everything the test is doing, because the test is doing multiple things. Instead, include exactly one behavior per test:
|
||||
|
||||
```dart
|
||||
test('SliverGeometry with no arguments is valid', () {
|
||||
expect(const SliverGeometry().debugAssertIsValid(), isTrue);
|
||||
});
|
||||
|
||||
test('SliverGeometry throws error when layoutExtent exceeds paintExtent', () {
|
||||
expect(() {
|
||||
const SliverGeometry(layoutExtent: 10.0, paintExtent: 9.0).debugAssertIsValid();
|
||||
}, throwsFlutterError);
|
||||
});
|
||||
|
||||
test('SliverGeometry throws error when maxPaintExtent is less than paintExtent', () {
|
||||
expect(() {
|
||||
const SliverGeometry(paintExtent: 9.0, maxPaintExtent: 8.0).debugAssertIsValid();
|
||||
}, throwsFlutterError);
|
||||
});
|
||||
```
|
||||
|
||||
What constitutes a single behavior? The answer to that question can vary. In most circumstances, only a single method should be invoked on the object under test, and it should be invoked only one time. However, that heuristic is not always correct. There can be cases where multiple method calls represent a singular behavior and a single set of expectations. Developers should use their discretion in this regard. That said, a higher number of shorter tests will tend to be a safer bet than a smaller number of longer tests.
|
||||
|
||||
## Only include relevant details in a test
|
||||
|
||||
Tests often involve some amount of setup before the behavior-under-test can be executed. Some of these setup details are critical to the behavior-under-test, but many of these details are completely irrelevant.
|
||||
|
||||
Including irrelevant details in a test can only confuse the issue in the mind of the developer reading the test. The developer may become confused about which parts are relevant to him/her, and which are not. In such a scenario, the developer is likely to copy and paste the entire test without fully understanding what the code is doing, which is a recipe for disaster in a production app.
|
||||
|
||||
```dart
|
||||
// Notice how much of the widget setup has nothing to do with the behavior-under-test...
|
||||
testWidgets('Title Section is empty, Button section is not empty.', (WidgetTester tester) async {
|
||||
const double textScaleFactor = 1.0;
|
||||
final ScrollController scrollController = new ScrollController(keepScrollOffset: true);
|
||||
await tester.pumpWidget(
|
||||
new MaterialApp(home: new Material(
|
||||
child: new Center(
|
||||
child: new Builder(builder: (BuildContext context) {
|
||||
return new RaisedButton(
|
||||
onPressed: () {
|
||||
showDialog<Null>(
|
||||
context: context,
|
||||
builder: (BuildContext context) {
|
||||
return new MediaQuery(
|
||||
data: MediaQuery.of(context).copyWith(textScaleFactor: textScaleFactor),
|
||||
child: new CupertinoAlertDialog(
|
||||
actions: const <Widget>[
|
||||
const CupertinoDialogAction(
|
||||
child: const Text('One'),
|
||||
),
|
||||
const CupertinoDialogAction(
|
||||
child: const Text('Two'),
|
||||
),
|
||||
],
|
||||
actionScrollController: scrollController,
|
||||
),
|
||||
);
|
||||
},
|
||||
);
|
||||
},
|
||||
child: const Text('Go'),
|
||||
);
|
||||
}),
|
||||
),
|
||||
)),
|
||||
);
|
||||
|
||||
await tester.tap(find.text('Go'));
|
||||
|
||||
await tester.pump();
|
||||
await tester.pump(const Duration(seconds: 1));
|
||||
|
||||
// Check that the title/message section is not displayed
|
||||
expect(scrollController.offset, 0.0);
|
||||
expect(tester.getTopLeft(find.widgetWithText(CupertinoDialogAction, 'One')).dy, equals(283.5));
|
||||
|
||||
// Check that the button's vertical size is the same.
|
||||
expect(tester.getSize(find.widgetWithText(CupertinoDialogAction, 'One')).height,
|
||||
equals(tester.getSize(find.widgetWithText(CupertinoDialogAction, 'Two')).height));
|
||||
});
|
||||
```
|
||||
|
||||
Strive to write tests that only communicate details that are relevant to the behavior-under-test. This can be accomplished by extracting unrelated setup into other methods that are clearly named by their purpose:
|
||||
|
||||
```dart
|
||||
// Now the unrelated details are factored out...
|
||||
testWidgets('Title Section is empty, Button section is not empty.', (WidgetTester tester) async {
|
||||
final ScrollController scrollController = new ScrollController(keepScrollOffset: true);
|
||||
await _launchDialog(
|
||||
dialog: CupertinoAlertDialog(
|
||||
actions: const <Widget>[
|
||||
const CupertinoDialogAction(
|
||||
child: const Text('One'),
|
||||
),
|
||||
const CupertinoDialogAction(
|
||||
child: const Text('Two'),
|
||||
),
|
||||
],
|
||||
actionScrollController: scrollController,
|
||||
),
|
||||
);
|
||||
|
||||
// Check that the title/message section is not displayed
|
||||
expect(scrollController.offset, 0.0);
|
||||
expect(tester.getTopLeft(find.widgetWithText(CupertinoDialogAction, 'One')).dy, equals(283.5));
|
||||
|
||||
// Check that the button's vertical size is the same.
|
||||
expect(tester.getSize(find.widgetWithText(CupertinoDialogAction, 'One')).height,
|
||||
equals(tester.getSize(find.widgetWithText(CupertinoDialogAction, 'Two')).height));
|
||||
});
|
||||
```
|
||||
|
||||
## Optimize tests for comprehension
|
||||
|
||||
To illustrate the way that a small adjustment can make a test much more comprehensible to another developer, consider this test from above:
|
||||
|
||||
```dart
|
||||
testWidgets('Title Section is empty, Button section is not empty.', (WidgetTester tester) async {
|
||||
final ScrollController scrollController = new ScrollController(keepScrollOffset: true);
|
||||
await _launchDialog(
|
||||
dialog: CupertinoAlertDialog(
|
||||
actions: const <Widget>[
|
||||
const CupertinoDialogAction(
|
||||
child: const Text('One'),
|
||||
),
|
||||
const CupertinoDialogAction(
|
||||
child: const Text('Two'),
|
||||
),
|
||||
],
|
||||
actionScrollController: scrollController,
|
||||
),
|
||||
);
|
||||
|
||||
// Check that the title/message section is not displayed
|
||||
expect(scrollController.offset, 0.0);
|
||||
expect(tester.getTopLeft(find.widgetWithText(CupertinoDialogAction, 'One')).dy, equals(283.5));
|
||||
|
||||
// Check that the button's vertical size is the same.
|
||||
expect(tester.getSize(find.widgetWithText(CupertinoDialogAction, 'One')).height,
|
||||
equals(tester.getSize(find.widgetWithText(CupertinoDialogAction, 'Two')).height));
|
||||
});
|
||||
```
|
||||
|
||||
This test was presented as an improvement because it factored out unrelated details. But we can make this test better by slightly adjusting how we decompose the individual lines in the test:
|
||||
|
||||
```dart
|
||||
testWidgets('Title Section is empty, Button section is not empty.', (WidgetTester tester) async {
|
||||
final ScrollController scrollController = new ScrollController(keepScrollOffset: true);
|
||||
|
||||
final Widget dialog = CupertinoAlertDialog(
|
||||
actions: const <Widget>[
|
||||
const CupertinoDialogAction(
|
||||
child: const Text('One'),
|
||||
),
|
||||
const CupertinoDialogAction(
|
||||
child: const Text('Two'),
|
||||
),
|
||||
],
|
||||
actionScrollController: scrollController,
|
||||
);
|
||||
|
||||
await _launchDialog(dialog);
|
||||
|
||||
// Check that the title/message section is not displayed
|
||||
expect(scrollController.offset, 0.0);
|
||||
expect(tester.getTopLeft(find.widgetWithText(CupertinoDialogAction, 'One')).dy, equals(283.5));
|
||||
|
||||
// Check that the button's vertical size is the same.
|
||||
expect(tester.getSize(find.widgetWithText(CupertinoDialogAction, 'One')).height,
|
||||
equals(tester.getSize(find.widgetWithText(CupertinoDialogAction, 'Two')).height));
|
||||
});
|
||||
```
|
||||
|
||||
By extracting the declaration of the `CupertinoAlertDialog` into its own statement, we have clearly disambiguated between the dialog we're here to test vs. the action of launching the dialog for testing purposes.
|
||||
|
||||
When writing tests, think about the developer who will read this test 6 months from now and ask if there is anything you can do to help that developer comprehend what the test is doing, and why.
|
||||
|
||||
# See also
|
||||
|
||||
- [[Flutter Test Fonts]]
|
||||
@@ -1,123 +0,0 @@
|
||||
_(This page is referenced by comments in the Flutter codebase.)_
|
||||
|
||||
**If you want to learn how to write a golden test for your package, see [the `matchesGoldenFile` API docs](https://api.flutter.dev/flutter/flutter_test/matchesGoldenFile.html).** This wiki page describes the special process specifically for the Flutter team itself.
|
||||
|
||||
Golden file tests for `package:flutter` use [Flutter Gold](https://flutter-gold.skia.org/?query=source_type%3Dflutter) for baseline and version management of golden files. This allows for golden file testing on Linux, Windows, MacOS and Web, which accounts for the occasional subtle rendering differences between these platforms.
|
||||
|
||||
## Index
|
||||
- [Known Issues](https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter#known-issues)
|
||||
- [Build Breakage](https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter#build-breakage)
|
||||
- [Creating a New Golden File Test](https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package%3Aflutter#creating-a-new-golden-file-test)
|
||||
- [Updating a Golden File Test](https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package%3Aflutter#updating-a-golden-file-test
|
||||
)
|
||||
- [Flutter Gold Login](https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package%3Aflutter#flutter-gold-login
|
||||
)
|
||||
- [`flutter-gold` Check](https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter#flutter-gold-check)
|
||||
- [`reduced-test-set` tag](https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter#reduced-test-set-tag)
|
||||
- [Troubleshooting](https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter#troubleshooting)
|
||||
|
||||
|
||||
## Known Issues
|
||||
|
||||
### Negative Images
|
||||
|
||||
https://github.com/flutter/flutter/issues/145043
|
||||
|
||||
If an image is marked `negative` the flutter-gold check will not catch it in presubmit testing. Images should not be marked negative, as the system relies on the `untriaged` and `approved` states. If a negative image is produced in postsubmit, testing will fail and the change can be reverted so the image can be addressed.
|
||||
If you would like to instantly invalidate all prior renderings, changing the name of the golden file test will accomplish this. Gold already has a process to 'forget' images after they have changed, but does so over time.
|
||||
|
||||
## Build Breakage
|
||||
|
||||
If the Flutter build is broken due to a golden file test failure, this typically means an image change has landed without being triaged. Golden file images should be triaged in pre-submit before a change lands (as described in the steps below). If this process is not followed, a test with an unapproved golden file image will fail in post-submit testing. This will present in the following error message:
|
||||
|
||||
```
|
||||
Skia Gold received an unapproved image in post-submit
|
||||
testing. Golden file images in flutter/flutter are triaged
|
||||
in pre-submit during code review for the given PR.
|
||||
|
||||
Visit https://flutter-gold.skia.org/ to view and approve
|
||||
the image(s), or revert the associated change. For more
|
||||
information, visit the wiki:
|
||||
https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter
|
||||
```
|
||||
|
||||
To resolve, visit the [Flutter Gold dashboard](https://flutter-gold.skia.org/) to view the batch of images in question. If they are intended changes, approve them by clicking the checkmark, and re-run the failing test to resolve. If the image changes are not intended, revert the associated change.
|
||||
|
||||
Notice, Gold may wrongly attribute blame for image changes on the dashboard. Post-submit testing for flutter/flutter is not executed in the order that commits land. Commits are tested by order of the most recent change. If older commits have not completed testing yet, Gold may assign blame incorrectly until all image results have been processed for pending commits.
|
||||
|
||||
## Creating a New Golden File Test
|
||||
|
||||
Write your test as a normal test, using `testWidgets` and `await tester.pumpWidget` and so on.
|
||||
|
||||
Put a `RepaintBoundary` widget around the part of the subtree that you want to verify. If you don't, the output will be a 2400x1800 image, since the tests by default use an 800x600 viewport with a device pixel ratio of 3.0. If you would like to further control the image size, put a `SizedBox` around your `RepaintBoundary` to set constraints.
|
||||
|
||||
Add an expectation along the following lines:
|
||||
|
||||
```dart
|
||||
await expectLater(
|
||||
find.byType(RepaintBoundary),
|
||||
matchesGoldenFile('test_name.subtest.subfile.png'),
|
||||
);
|
||||
```
|
||||
|
||||
The argument to `matchesGoldenFile` is the filename for the screen shot. The part up to the first dot should exactly match the test filename (e.g. if your test is `widgets/foo_bar_test.dart`, use `foo_bar`). The `subtest` part should be unique to this `testWidgets` entry, and the part after that should be unique within the `testWidgets` entry. This allows each file to have multiple `testWidgets` tests each with their own namespace for the images, and then allows for disambiguation within each test in case there are multiple screen shots per test.
|
||||
|
||||
Golden tests may be executed locally on Linux, MacOS, and Windows platforms. All reference images can be found at [Flutter Gold baselines](https://flutter-gold.skia.org/list?fdiffmax=-1&fref=false&frgbamax=255&frgbamin=0&head=true&include=false&limit=50&master=false&match=name&metric=combined&neg=false&new_clstore=true&offset=0&pos=true&query=source_type%3Dflutter&sort=desc&unt=true). Some tests may have multiple golden masters for a given test, to account for rendering differences across platforms. The parameter set for each image is listed in each image digest to differentiate renderings.
|
||||
|
||||
Once you have written your test, run `flutter test --update-goldens test/foo/bar_test.dart` in the `flutter` package directory (where the filename is the relative path to your new test). This will update the images in `bin/cache/pkg/skia_goldens/packages/flutter/test/`; the directories below that will match the hierarchy of the directories in the `test` directory of the `flutter` package. Verify that the images are what you expect; update your test and repeat this step until you are happy with the image.
|
||||
|
||||
When running `flutter test` locally without the `--update-goldens` flag, your test will pass, as it does not yet have a baseline for comparison on the [Flutter Gold](https://flutter-gold.skia.org/?query=source_type%3Dflutter) dashboard. The test will be recognized as new, and provide output for validation.
|
||||
|
||||
When you are happy with your image, you are ready to submit your PR for review. The reviewer should also verify your golden image(s), so make sure to include the golden(s) in your PR description.
|
||||
|
||||
New test results will be compiled into a tryjob on the Flutter Gold dashboard, under [ChangeLists](https://flutter-gold.skia.org/changelists). There you will see your pull request and the associated golden files that were generated. Gold will also leave a comment on your pull request linking to your image results.
|
||||
|
||||
New tests can be triaged from these tryjobs, which will cause the pending `flutter-gold` check to pass. Review the tryjob and the images that were generated, making sure they look as expected. Currently, we generate images for Linux, Mac, Windows, and Web platforms. It is common for there to be slight differences between them. Click the checkmark to approve the change, completing triage.
|
||||
|
||||
And that’s it! Your new golden file(s) will be checked in as the baseline(s) for your new test(s), and your PR will be ready to merge. :tada:
|
||||
|
||||
## Updating a Golden File Test
|
||||
|
||||
If renderings change, then the golden baseline in [Flutter Gold](https://flutter-gold.skia.org/?query=source_type%3Dflutter) will need to be updated.
|
||||
|
||||
When developing your change, local testing will produce a failure along with visual diff output. This visual diff will be generated using the golden baseline from [Flutter Gold](https://flutter-gold.skia.org/?query=source_type%3Dflutter) that matches the current paramset of your testing environment (currently based on platform). This allows for quick iterations and validation of your change. Locally, this test will not pass until the new baseline has been checked in.
|
||||
|
||||
When you are happy with your golden change, you are ready to submit your PR for review. The reviewer should also verify your golden image(s), so make sure to include the golden changes you have made in your PR description. Changes to tests will be compiled into a tryjob on the Flutter Gold dashboard, under [ChangeLists](https://flutter-gold.skia.org/changelists). There you will see your pull request and the associated golden files that were generated, as well as the visual differences between the pre-existing baselines. Gold will also leave a comment on your pull request linking to your image results.
|
||||
|
||||
The updated tests can be triaged from these tryjobs, which will cause the pending `flutter-gold` check to pass. Review the tryjob and the images that were generated, making sure they look as expected. Currently, we generate images for Linux, Mac, Windows and Web platforms. It is common for there to be slight differences between them. Click the checkmark to approve the change, completing triage.
|
||||
|
||||
And that’s it! Your new golden file(s) will be checked in as the baseline(s) for your new test(s), and your PR will be ready to merge. :tada:
|
||||
|
||||
|
||||
## Flutter Gold Login
|
||||
|
||||
Triage permission is currently restricted to members of *flutter-hackers*. For more information, see [Contributor Access](https://github.com/flutter/flutter/wiki/Contributor-access).
|
||||
Once you have been added as an authorized user for Flutter Gold, you can log in through the [homepage of the Flutter Gold dashboard](https://flutter-gold.skia.org/) and proceed to triage your image results under [Changelists](https://flutter-gold.skia.org/changelists).
|
||||
|
||||
## `flutter gold` Check
|
||||
|
||||
The `flutter-gold` check is applied to pull requests in flutter/flutter that execute golden file tests and are ready for review.
|
||||
|
||||
As golden file tests are run across multiple test shards, this check waits for all other tests to complete before checking to see if Gold received new images. While awaiting test completion, and in the event there are image changes, the `flutter-gold` check will hold a pending state. This is primarily due to how the auto-roller used by flutter/engine works (context: https://github.com/flutter/flutter/issues/48744).
|
||||
|
||||
If there are no image changes, the `flutter-gold` check will go green. If image changes were detected, a comment on your pull request will notify and provide a direct link to the images. Upon triaging, or approving, the images, the `flutter-gold` check will go green within five minutes.
|
||||
|
||||
## `reduced test set` tag
|
||||
|
||||
On some CI platforms in pre-submit, hermetic tests suites are not executed in order to conserve resources and expedite testing of other changes. To ensure that a golden file image is available for every platform, test files with golden tests are tagged with `reduced-test-set`. This marks them for execution in these conservative test environments. Currently, framework tests on Mac and Windows platforms execute these reduced test sets. The analyzer will alert you if the tag is omitted from the test file. The tag should be formatted as such at the top of the file:
|
||||
|
||||
```dart
|
||||
@Tags(<String>['reduced-test-set'])
|
||||
```
|
||||
|
||||
For more context, see [flutter.dev/go/reduce-ci-tests](https://flutter.dev/go/reduce-ci-tests).
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
* Trouble: the `flutter-gold` is stuck at pending status while all other checks are successful (if they are not, see [flutter-gold check](#flutter-gold-check)).
|
||||
* Solution: this may be a side-effect of force-pushed commits (`git push -f`) and a known Skia Gold issue (https://issues.skia.org/issues/40044676), typically after a rebase. If this happens, try rebasing or pushing an empty commit without force pushing. This side-effect is flaky.
|
||||
* Trouble: the `flutter-gold` check posted a message saying "Golden file changes have been found..." but the triage page is empty.
|
||||
* Solution: this may be another side-effect of force-pushed commits (see above), but may also be a side-effect of untriaged goldens from already submitted PRs. Try rebasing again, or reach out in #hackers-infra on the Discord.
|
||||
|
||||
## Additional Resources
|
||||
- [Gold APIs used by the Flutter Framework](https://docs.google.com/document/d/1H3CDqT7zBUt4Je2HPQpleYA-drwj2oy0mdPlSdf2d4A/edit?usp=sharing)
|
||||
Reference in New Issue
Block a user