Bump grinder from 0.9.4 to 0.9.5 (#1053)

Bumps [grinder](https://github.com/google/grinder.dart) from 0.9.4 to 0.9.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/google/grinder.dart/releases">grinder's releases</a>.</em></p>
<blockquote>
<h2>package:grinder v0.9.5</h2>
<ul>
<li>Update the SDK constraint to 3.0.</li>
<li>Rev to the latest version of <code>package:lints</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/google/grinder.dart/blob/master/CHANGELOG.md">grinder's changelog</a>.</em></p>
<blockquote>
<h2>0.9.5</h2>
<ul>
<li>Update the SDK constraint to 3.0.</li>
<li>Rev to the latest version of <code>package:lints</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/google/grinder.dart/commit/e2275baf7e498f5d5a531503be53445323ed8e55"><code>e2275ba</code></a> update sdk dep; upgrade to the latest package:lints (<a href="https://redirect.github.com/google/grinder.dart/issues/408">#408</a>)</li>
<li><a href="https://github.com/google/grinder.dart/commit/81bb7e3d2e2fff16e3755e2bd60df8dd6d7b2b53"><code>81bb7e3</code></a> Bump actions/checkout from 3.5.2 to 3.6.0 (<a href="https://redirect.github.com/google/grinder.dart/issues/403">#403</a>)</li>
<li><a href="https://github.com/google/grinder.dart/commit/5949905ec3142f203271493b2a61e5a1b7dcddff"><code>5949905</code></a> Bump actions/checkout from 3.0.2 to 3.5.2 (<a href="https://redirect.github.com/google/grinder.dart/issues/400">#400</a>)</li>
<li><a href="https://github.com/google/grinder.dart/commit/7a04208ba2497c180f257a15542150d61ed62997"><code>7a04208</code></a> Bump dart-lang/setup-dart from 1.3.0 to 1.5.0 (<a href="https://redirect.github.com/google/grinder.dart/issues/399">#399</a>)</li>
<li>See full diff in <a href="https://github.com/google/grinder.dart/compare/v0.9.4...v0.9.5">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=grinder&package-manager=pub&previous-version=0.9.4&new-version=0.9.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
1 file changed
tree: 6c49542ce0380798edfff7e858572df466e940be
  1. .github/
  2. android/
  3. fonts/
  4. ios/
  5. lib/
  6. linux/
  7. logs/
  8. macos/
  9. test/
  10. test_benchmarks/
  11. test_driver/
  12. test_goldens/
  13. tool/
  14. web/
  15. windows/
  16. .firebaserc
  17. .gitignore
  18. .metadata
  19. analysis_options.yaml
  20. CHANGELOG.md
  21. deferred_components_loading_units.yaml
  22. firebase.json
  23. l10n.yaml
  24. LICENSE
  25. pubspec.lock
  26. pubspec.yaml
  27. README.md
  28. screenshots.md
README.md

Flutter Gallery

Flutter Gallery is a resource to help developers evaluate and use Flutter. It is a collection of Material Design & Cupertino widgets, behaviors, and vignettes implemented with Flutter. We often get asked how one can see Flutter in action, and this gallery demonstrates what Flutter provides and how it behaves in the wild.

Flutter Gallery

Features

  • Showcase for material, cupertino, and other widgets
  • Adaptive layout for mobile and desktop
  • State restoration support
  • Settings to text scaling, text direction, locale, theme, and more...
  • Demo for animations
  • Foldable support and demo for dual_screen
  • Deferred loading
  • CI/CD
  • ...and much more!

Supported Platforms

Flutter Gallery has been built to support multiple platforms. These include:

Running

One can run the gallery locally for any of these platforms. For desktop platforms, please see the Flutter docs for the latest requirements.

cd gallery/
flutter pub get
flutter run

Flutter master channel

The Flutter Gallery targets Flutter‘s master channel. As such, it can take advantage of new SDK features that haven’t landed in the stable channel.

If you'd like to run the Flutter Gallery, you may have to switch to the master channel first:

flutter channel master
flutter upgrade

When you're done, use this command to return to the safety of the stable channel:

flutter channel stable
flutter upgrade

Development

If this is the first time building the Flutter Gallery, the localized code will not be present in the project directory. However, after running the application for the first time, a synthetic package will be generated containing the app's localizations through importing package:flutter_gen/gen_l10n/.

flutter pub get
flutter pub run grinder l10n

See separate README for more details.

flutter pub get
flutter pub run grinder update-code-segments

See separate README for more details.

  1. Convert your animation to a .gif file. Ideally, use a background color of 0xFF030303 to ensure the animation blends into the background of the app.

  2. Add your new .gif file to the assets directory under assets/splash_effects. Ensure the name follows the format splash_effect_$num.gif. The number should be the next number after the current largest number in the repository.

  3. Update the map _effectDurations in splash.dart to include the number of the new .gif as well as its estimated duration. The duration is used to determine how long to display the splash animation at launch.

Releasing

must be a flutter-hackers member

A set of GitHub workflows are available to help with releasing the Flutter Gallery, one per releasing platform.

  1. For Android, download the relevant Firebase configuration file (e.g. google-services.json).

  2. Bump the pubspec.yaml version number. This can be in a PR making a change or a separate PR. Use semantic versioning to determine which part to increment. The version number after the + should also be incremented. For example 1.2.3+010203 with a patch should become 1.2.4+010204.

  3. Run GitHub workflow.

  • Deploy to web: Deploys a web build to the Firebase-hosted staging or production site.

  • Deploy to Play Store: Uses Fastlane to create a beta (freely available on the Play Store) or promote an existing beta to production (Play Store).

    Note Once an .aab is created with a particular version number, it can't be replaced. The pubspec version number must be incremented again.

  • Draft GitHub release: Drafts a GitHub release, including packaged builds for Android, macOS, Linux, and Windows. Release notes can be automatically generated. The release draft is private until published. Upon being published, the specified version tag will be created.

  • Publish on Windows Store: Releasing to the Windows Store.

    Note This repository is not currently set up to publish new versions of the current Windows Store listing. Requires running msstore init within the repository and setting repository/environment secrets . See the instructions in the documentation for more information.

If the above GitHub workflows aren't functional (#759), releasing can be done semi-manually. Since this requires obtaining environment secrets, this can only be done by a Googler. See go/flutter-gallery-manual-deployment.

Tests

The gallery has its own set of unit, golden, and integration tests.

In addition, Flutter itself uses the gallery in tests. To enable breaking changes, the gallery version is pinned in two places: