1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Commit Graph

24 Commits

Author SHA1 Message Date
dependabot[bot]
80e1e585ca Bump lints from 3.0.0 to 4.0.0 in /code_sharing/server (#2278)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.

---

Bumps [lints](https://github.com/dart-lang/lints) from 3.0.0 to 4.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dart-lang/lints/releases">lints's releases</a>.</em></p>
<blockquote>
<h2>package:lints v4.0.0</h2>
<ul>
<li><code>core</code>:
<ul>
<li>added <code>library_annotations</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/177">dart-lang/lints#177</a>)</li>
<li>added <code>no_wildcard_variable_uses</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/139">dart-lang/lints#139</a>)</li>
<li>removed <code>package_prefixed_library_names</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/172">dart-lang/lints#172</a>)</li>
</ul>
</li>
<li><code>recommended</code>:
<ul>
<li>removed <code>library_names</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/181">dart-lang/lints#181</a>)</li>
</ul>
</li>
<li>Updated the SDK lower-bound to 3.1.</li>
<li>Add a section on upgrading to the latest lint set to the readme.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/dart-lang/lints/blob/main/CHANGELOG.md">lints's changelog</a>.</em></p>
<blockquote>
<h2>4.0.0</h2>
<ul>
<li><code>core</code>:
<ul>
<li>added <code>library_annotations</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/177">dart-lang/lints#177</a>)</li>
<li>added <code>no_wildcard_variable_uses</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/139">dart-lang/lints#139</a>)</li>
<li>removed <code>package_prefixed_library_names</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/172">dart-lang/lints#172</a>)</li>
</ul>
</li>
<li><code>recommended</code>:
<ul>
<li>removed <code>library_names</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/181">dart-lang/lints#181</a>)</li>
</ul>
</li>
<li>Updated the SDK lower-bound to 3.1.</li>
<li>Add a section on upgrading to the latest lint set to the readme.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f0205c1810"><code>f0205c1</code></a> rev to 4.0.0; prep to publish (<a href="https://redirect.github.com/dart-lang/lints/issues/184">#184</a>)</li>
<li><a href="e467d1e6cf"><code>e467d1e</code></a> Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (<a href="https://redirect.github.com/dart-lang/lints/issues/185">#185</a>)</li>
<li><a href="1cd93f4ce7"><code>1cd93f4</code></a> Bump actions/checkout from 4.1.2 to 4.1.4 (<a href="https://redirect.github.com/dart-lang/lints/issues/186">#186</a>)</li>
<li><a href="7f63963a5a"><code>7f63963</code></a> remove the 'library_names' lint (<a href="https://redirect.github.com/dart-lang/lints/issues/183">#183</a>)</li>
<li><a href="df9bcbf6dd"><code>df9bcbf</code></a> Bump actions/checkout from 4.1.1 to 4.1.2 (<a href="https://redirect.github.com/dart-lang/lints/issues/182">#182</a>)</li>
<li><a href="ead770872e"><code>ead7708</code></a> add library_annotations; remove package_prefixed_library_names (<a href="https://redirect.github.com/dart-lang/lints/issues/179">#179</a>)</li>
<li><a href="90a61e474e"><code>90a61e4</code></a> Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (<a href="https://redirect.github.com/dart-lang/lints/issues/176">#176</a>)</li>
<li><a href="3810f8b3dc"><code>3810f8b</code></a> add a section on upgrading to the latest lint set to the readme (<a href="https://redirect.github.com/dart-lang/lints/issues/171">#171</a>)</li>
<li><a href="f58fd77bbf"><code>f58fd77</code></a> Bump actions/checkout from 4.1.0 to 4.1.1 (<a href="https://redirect.github.com/dart-lang/lints/issues/168">#168</a>)</li>
<li><a href="5c60f48a17"><code>5c60f48</code></a> Update README.md to use new syntax for adding dev dependencies (<a href="https://redirect.github.com/dart-lang/lints/issues/167">#167</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/dart-lang/lints/compare/v3.0.0...v4.0.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lints&package-manager=pub&previous-version=3.0.0&new-version=4.0.0)](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>
2024-05-10 21:18:05 +00:00
dependabot[bot]
ee9beae2a4 Bump lints from 3.0.0 to 4.0.0 in /code_sharing/shared (#2279)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.

---

Bumps [lints](https://github.com/dart-lang/lints) from 3.0.0 to 4.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dart-lang/lints/releases">lints's releases</a>.</em></p>
<blockquote>
<h2>package:lints v4.0.0</h2>
<ul>
<li><code>core</code>:
<ul>
<li>added <code>library_annotations</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/177">dart-lang/lints#177</a>)</li>
<li>added <code>no_wildcard_variable_uses</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/139">dart-lang/lints#139</a>)</li>
<li>removed <code>package_prefixed_library_names</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/172">dart-lang/lints#172</a>)</li>
</ul>
</li>
<li><code>recommended</code>:
<ul>
<li>removed <code>library_names</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/181">dart-lang/lints#181</a>)</li>
</ul>
</li>
<li>Updated the SDK lower-bound to 3.1.</li>
<li>Add a section on upgrading to the latest lint set to the readme.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/dart-lang/lints/blob/main/CHANGELOG.md">lints's changelog</a>.</em></p>
<blockquote>
<h2>4.0.0</h2>
<ul>
<li><code>core</code>:
<ul>
<li>added <code>library_annotations</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/177">dart-lang/lints#177</a>)</li>
<li>added <code>no_wildcard_variable_uses</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/139">dart-lang/lints#139</a>)</li>
<li>removed <code>package_prefixed_library_names</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/172">dart-lang/lints#172</a>)</li>
</ul>
</li>
<li><code>recommended</code>:
<ul>
<li>removed <code>library_names</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/181">dart-lang/lints#181</a>)</li>
</ul>
</li>
<li>Updated the SDK lower-bound to 3.1.</li>
<li>Add a section on upgrading to the latest lint set to the readme.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f0205c1810"><code>f0205c1</code></a> rev to 4.0.0; prep to publish (<a href="https://redirect.github.com/dart-lang/lints/issues/184">#184</a>)</li>
<li><a href="e467d1e6cf"><code>e467d1e</code></a> Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (<a href="https://redirect.github.com/dart-lang/lints/issues/185">#185</a>)</li>
<li><a href="1cd93f4ce7"><code>1cd93f4</code></a> Bump actions/checkout from 4.1.2 to 4.1.4 (<a href="https://redirect.github.com/dart-lang/lints/issues/186">#186</a>)</li>
<li><a href="7f63963a5a"><code>7f63963</code></a> remove the 'library_names' lint (<a href="https://redirect.github.com/dart-lang/lints/issues/183">#183</a>)</li>
<li><a href="df9bcbf6dd"><code>df9bcbf</code></a> Bump actions/checkout from 4.1.1 to 4.1.2 (<a href="https://redirect.github.com/dart-lang/lints/issues/182">#182</a>)</li>
<li><a href="ead770872e"><code>ead7708</code></a> add library_annotations; remove package_prefixed_library_names (<a href="https://redirect.github.com/dart-lang/lints/issues/179">#179</a>)</li>
<li><a href="90a61e474e"><code>90a61e4</code></a> Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (<a href="https://redirect.github.com/dart-lang/lints/issues/176">#176</a>)</li>
<li><a href="3810f8b3dc"><code>3810f8b</code></a> add a section on upgrading to the latest lint set to the readme (<a href="https://redirect.github.com/dart-lang/lints/issues/171">#171</a>)</li>
<li><a href="f58fd77bbf"><code>f58fd77</code></a> Bump actions/checkout from 4.1.0 to 4.1.1 (<a href="https://redirect.github.com/dart-lang/lints/issues/168">#168</a>)</li>
<li><a href="5c60f48a17"><code>5c60f48</code></a> Update README.md to use new syntax for adding dev dependencies (<a href="https://redirect.github.com/dart-lang/lints/issues/167">#167</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/dart-lang/lints/compare/v3.0.0...v4.0.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lints&package-manager=pub&previous-version=3.0.0&new-version=4.0.0)](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>
2024-05-10 20:50:06 +00:00
dependabot[bot]
8767dcf8b2 Bump flutter_lints from 3.0.2 to 4.0.0 in /code_sharing/client (#2283)
Bumps [flutter_lints](https://github.com/flutter/packages/tree/main/packages) from 3.0.2 to 4.0.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="4799c49634"><code>4799c49</code></a> [flutter_lints] Rev to 4.0.0; prepare for publishing (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6695">#6695</a>)</li>
<li><a href="4e796783a2"><code>4e79678</code></a> [pointer_interceptor] Remove <code>implements</code> from app-facing package (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6699">#6699</a>)</li>
<li><a href="d670b2c38c"><code>d670b2c</code></a> Temporarily add empty header files to video_player_avfoundation so include di...</li>
<li><a href="a9f14bc819"><code>a9f14bc</code></a> Reverts &quot;[image_picker_ios] Adds Swift Package Manager compatibility to image...</li>
<li><a href="a444af56dd"><code>a444af5</code></a> [image_picker_ios] Adds Swift Package Manager compatibility to image_picker_i...</li>
<li><a href="09a373f211"><code>09a373f</code></a> [video_player_avfoundation] Adds Swift Package Manager compatibility (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6675">#6675</a>)</li>
<li><a href="0167b51e5f"><code>0167b51</code></a> [ios_platform_images] Add Swift Package Manager support (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6684">#6684</a>)</li>
<li><a href="8de142d33b"><code>8de142d</code></a> [path_provider] Add Swift Package Manager support (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6680">#6680</a>)</li>
<li><a href="4595c41373"><code>4595c41</code></a> [go_router] guard context access in then clauses (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6685">#6685</a>)</li>
<li><a href="8df8b5ff3d"><code>8df8b5f</code></a> [camera] Ignore implementation imports outside of lib (<a href="https://github.com/flutter/packages/tree/main/packages/issues/6191">#6191</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/flutter/packages/commits/flutter_lints-v4.0.0/packages">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=flutter_lints&package-manager=pub&previous-version=3.0.2&new-version=4.0.0)](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>
2024-05-10 20:22:26 +00:00
Soroush Beigi
1f31580907 Updating samples Dart sdk to the last stable version (#2209) 2024-03-24 21:29:55 +11:00
Sasank Tumpati
0e1355841d Fixed ThemeData in the Flutter Samples unnecessarily includes useMaterial3 = true (Issue #2214) (#2217) 2024-03-20 20:16:39 +11:00
Brett Morgan
9e236813fe Fixups for master CI (#2118)
## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2023-12-21 15:30:25 +10:00
Brett Morgan
0ccc283a4e Fixup for failing Beta CI (#2092)
Turns out, we shipped a new Flutter beta as well. 

Commenting out `experimental/varfont_shader_puzzle` from beta CI

Everything else is just cleanup.

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2023-11-16 14:48:50 +10:00
dependabot[bot]
e20bce38f9 Bump lints from 2.1.1 to 3.0.0 in /code_sharing/server (#2056)
Bumps [lints](https://github.com/dart-lang/lints) from 2.1.1 to 3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dart-lang/lints/releases">lints's
releases</a>.</em></p>
<blockquote>
<h2>package:lints v3.0.0</h2>
<ul>
<li><code>core</code>:
<ul>
<li>added <code>collection_methods_unrelated_type</code></li>
<li>added <code>dangling_library_doc_comments</code></li>
<li>added <code>implicit_call_tearoffs</code></li>
<li>added <code>secure_pubspec_urls</code></li>
<li>added <code>type_literal_in_constant_pattern</code></li>
<li>added <code>use_string_in_part_of_directives</code></li>
<li>removed <code>iterable_contains_unrelated_type</code></li>
<li>removed <code>list_remove_unrelated_type</code></li>
<li>removed <code>no_wildcard_variable_uses</code></li>
</ul>
</li>
<li><code>recommended</code>:
<ul>
<li>added <code>unnecessary_to_list_in_spreads</code></li>
<li>added <code>use_super_parameters</code></li>
<li>removed <code>prefer_equal_for_default_values</code></li>
<li>removed <code>prefer_void_to_null</code></li>
</ul>
</li>
<li>Add info about which lints have quick fixes to the package's
readme.</li>
<li>Move the list of lint rules from the readme to a separate
<a
href="https://github.com/dart-lang/lints/blob/main/rules.md">rules.md</a>
file.</li>
</ul>
<h2>package:lints v3.0.0-beta.2</h2>
<ul>
<li>Add <code>dangling_library_doc_comments</code> to core.</li>
<li>Remove <code>no_wildcard_variable_uses</code> from core.</li>
<li>Remove <code>prefer_void_to_null</code> from recommended.</li>
</ul>
<h2>package:lints v3.0.0-beta</h2>
<ul>
<li><code>core</code>:
<ul>
<li>added <code>collection_methods_unrelated_type</code></li>
<li>added <code>implicit_call_tearoffs</code></li>
<li>added <code>no_wildcard_variable_uses</code></li>
<li>added <code>secure_pubspec_urls</code></li>
<li>added <code>type_literal_in_constant_pattern</code></li>
<li>added <code>use_string_in_part_of_directives</code></li>
<li>removed <code>iterable_contains_unrelated_type</code></li>
<li>removed <code>list_remove_unrelated_type</code></li>
</ul>
</li>
<li><code>recommended</code>:
<ul>
<li>added <code>unnecessary_to_list_in_spreads</code></li>
<li>added <code>use_super_parameters</code></li>
<li>removed <code>prefer_equal_for_default_values</code></li>
</ul>
</li>
<li>Add info about which lints have quick fixes to the package's
readme.</li>
<li>Move the list of lint rules from the readme to a separate
<a
href="https://github.com/dart-lang/lints/blob/main/rules.md">rules.md</a>
file.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/dart-lang/lints/blob/main/CHANGELOG.md">lints's
changelog</a>.</em></p>
<blockquote>
<h2>3.0.0</h2>
<ul>
<li><code>core</code>:
<ul>
<li>added <code>collection_methods_unrelated_type</code></li>
<li>added <code>dangling_library_doc_comments</code></li>
<li>added <code>implicit_call_tearoffs</code></li>
<li>added <code>secure_pubspec_urls</code></li>
<li>added <code>type_literal_in_constant_pattern</code></li>
<li>added <code>use_string_in_part_of_directives</code></li>
<li>removed <code>iterable_contains_unrelated_type</code></li>
<li>removed <code>list_remove_unrelated_type</code></li>
<li>removed <code>no_wildcard_variable_uses</code></li>
</ul>
</li>
<li><code>recommended</code>:
<ul>
<li>added <code>unnecessary_to_list_in_spreads</code></li>
<li>added <code>use_super_parameters</code></li>
<li>removed <code>prefer_equal_for_default_values</code></li>
<li>removed <code>prefer_void_to_null</code></li>
</ul>
</li>
<li>Add info about which lints have quick fixes to the package's
readme.</li>
<li>Move the list of lint rules from the readme to a separate
<a
href="https://github.com/dart-lang/lints/blob/main/rules.md">rules.md</a>
file.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="975c687068"><code>975c687</code></a>
rev to 3.0.0; prep to publish (<a
href="https://redirect.github.com/dart-lang/lints/issues/160">#160</a>)</li>
<li><a
href="90d350eb89"><code>90d350e</code></a>
Bump actions/checkout from 3.6.0 to 4.1.0 (<a
href="https://redirect.github.com/dart-lang/lints/issues/159">#159</a>)</li>
<li><a
href="140c8025fe"><code>140c802</code></a>
Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (<a
href="https://redirect.github.com/dart-lang/lints/issues/158">#158</a>)</li>
<li><a
href="624a09da9c"><code>624a09d</code></a>
add dangling_library_doc_comments, remove prefer_void_to_null (<a
href="https://redirect.github.com/dart-lang/lints/issues/157">#157</a>)</li>
<li><a
href="296efaf291"><code>296efaf</code></a>
remove no_wildcard_variable_uses; improve testing (<a
href="https://redirect.github.com/dart-lang/lints/issues/156">#156</a>)</li>
<li><a
href="c266a04d9b"><code>c266a04</code></a>
rev to 3.0.0-beta in preparation for publishing (<a
href="https://redirect.github.com/dart-lang/lints/issues/153">#153</a>)</li>
<li><a
href="b044acab9f"><code>b044aca</code></a>
add several rules to core and recommended (<a
href="https://redirect.github.com/dart-lang/lints/issues/150">#150</a>)</li>
<li><a
href="81100a2eba"><code>81100a2</code></a>
fix a dangling table link (<a
href="https://redirect.github.com/dart-lang/lints/issues/146">#146</a>)</li>
<li><a
href="8d5f750002"><code>8d5f750</code></a>
move the list of lint rules from the readme to a separate rules.md file
(<a
href="https://redirect.github.com/dart-lang/lints/issues/145">#145</a>)</li>
<li><a
href="da44af3d26"><code>da44af3</code></a>
Bump actions/checkout from 3.5.3 to 3.6.0 (<a
href="https://redirect.github.com/dart-lang/lints/issues/144">#144</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/dart-lang/lints/compare/v2.1.1...v3.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lints&package-manager=pub&previous-version=2.1.1&new-version=3.0.0)](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`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<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>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brett Morgan <brettmorgan@google.com>
2023-10-20 09:52:33 +10:00
dependabot[bot]
c087ffaec1 Bump flutter_lints from 2.0.3 to 3.0.0 in /code_sharing/client (#2063)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.

---

Bumps [flutter_lints](https://github.com/flutter/packages/tree/main/packages) from 2.0.3 to 3.0.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="3f8a5029fb"><code>3f8a502</code></a> [pigeon] Remove support for non-NNBD (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1524">#1524</a>)</li>
<li><a href="4eda7ad208"><code>4eda7ad</code></a> [pigeon] Fixes bug where Dart <code>FlutterApi</code>s would assert that a nullable argu...</li>
<li><a href="dff39d7b48"><code>dff39d7</code></a> [go_router]refactor runtime check to assert (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1362">#1362</a>)</li>
<li><a href="5600590b50"><code>5600590</code></a> [go_router] Export inherited_go_router.dart file (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1145">#1145</a>)</li>
<li><a href="d8bf76e582"><code>d8bf76e</code></a> [flutter_markdown] Remove build status from <code>README.md</code> (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1326">#1326</a>)</li>
<li><a href="bc223c1272"><code>bc223c1</code></a> Remove checked in binaries from flutter/packages. (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1338">#1338</a>)</li>
<li><a href="aff9cccafb"><code>aff9ccc</code></a> [rfw] Run tests for package:rfw on stable as well. (<a href="https://github.com/flutter/packages/tree/main/packages/issues/888">#888</a>)</li>
<li><a href="84a2e796d7"><code>84a2e79</code></a> [Pigeon] Make the generated Java Builder class final (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1247">#1247</a>)</li>
<li><a href="a9d6bf14ba"><code>a9d6bf1</code></a> [go_router] improve coverage (<a href="https://github.com/flutter/packages/tree/main/packages/issues/977">#977</a>)</li>
<li><a href="202fb329c9"><code>202fb32</code></a> [flutter_lints] version 2.0 (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1165">#1165</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/flutter/packages/commits/pigeon-v3.0.0/packages">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=flutter_lints&package-manager=pub&previous-version=2.0.3&new-version=3.0.0)](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>
2023-10-19 08:06:20 +00:00
dependabot[bot]
7f2e0d93fd Bump lints from 2.1.1 to 3.0.0 in /code_sharing/shared (#2064)
Bumps [lints](https://github.com/dart-lang/lints) from 2.1.1 to 3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dart-lang/lints/releases">lints's releases</a>.</em></p>
<blockquote>
<h2>package:lints v3.0.0</h2>
<ul>
<li><code>core</code>:
<ul>
<li>added <code>collection_methods_unrelated_type</code></li>
<li>added <code>dangling_library_doc_comments</code></li>
<li>added <code>implicit_call_tearoffs</code></li>
<li>added <code>secure_pubspec_urls</code></li>
<li>added <code>type_literal_in_constant_pattern</code></li>
<li>added <code>use_string_in_part_of_directives</code></li>
<li>removed <code>iterable_contains_unrelated_type</code></li>
<li>removed <code>list_remove_unrelated_type</code></li>
<li>removed <code>no_wildcard_variable_uses</code></li>
</ul>
</li>
<li><code>recommended</code>:
<ul>
<li>added <code>unnecessary_to_list_in_spreads</code></li>
<li>added <code>use_super_parameters</code></li>
<li>removed <code>prefer_equal_for_default_values</code></li>
<li>removed <code>prefer_void_to_null</code></li>
</ul>
</li>
<li>Add info about which lints have quick fixes to the package's readme.</li>
<li>Move the list of lint rules from the readme to a separate
<a href="https://github.com/dart-lang/lints/blob/main/rules.md">rules.md</a> file.</li>
</ul>
<h2>package:lints v3.0.0-beta.2</h2>
<ul>
<li>Add <code>dangling_library_doc_comments</code> to core.</li>
<li>Remove <code>no_wildcard_variable_uses</code> from core.</li>
<li>Remove <code>prefer_void_to_null</code> from recommended.</li>
</ul>
<h2>package:lints v3.0.0-beta</h2>
<ul>
<li><code>core</code>:
<ul>
<li>added <code>collection_methods_unrelated_type</code></li>
<li>added <code>implicit_call_tearoffs</code></li>
<li>added <code>no_wildcard_variable_uses</code></li>
<li>added <code>secure_pubspec_urls</code></li>
<li>added <code>type_literal_in_constant_pattern</code></li>
<li>added <code>use_string_in_part_of_directives</code></li>
<li>removed <code>iterable_contains_unrelated_type</code></li>
<li>removed <code>list_remove_unrelated_type</code></li>
</ul>
</li>
<li><code>recommended</code>:
<ul>
<li>added <code>unnecessary_to_list_in_spreads</code></li>
<li>added <code>use_super_parameters</code></li>
<li>removed <code>prefer_equal_for_default_values</code></li>
</ul>
</li>
<li>Add info about which lints have quick fixes to the package's readme.</li>
<li>Move the list of lint rules from the readme to a separate
<a href="https://github.com/dart-lang/lints/blob/main/rules.md">rules.md</a> file.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/dart-lang/lints/blob/main/CHANGELOG.md">lints's changelog</a>.</em></p>
<blockquote>
<h2>3.0.0</h2>
<ul>
<li><code>core</code>:
<ul>
<li>added <code>collection_methods_unrelated_type</code></li>
<li>added <code>dangling_library_doc_comments</code></li>
<li>added <code>implicit_call_tearoffs</code></li>
<li>added <code>secure_pubspec_urls</code></li>
<li>added <code>type_literal_in_constant_pattern</code></li>
<li>added <code>use_string_in_part_of_directives</code></li>
<li>removed <code>iterable_contains_unrelated_type</code></li>
<li>removed <code>list_remove_unrelated_type</code></li>
<li>removed <code>no_wildcard_variable_uses</code></li>
</ul>
</li>
<li><code>recommended</code>:
<ul>
<li>added <code>unnecessary_to_list_in_spreads</code></li>
<li>added <code>use_super_parameters</code></li>
<li>removed <code>prefer_equal_for_default_values</code></li>
<li>removed <code>prefer_void_to_null</code></li>
</ul>
</li>
<li>Add info about which lints have quick fixes to the package's readme.</li>
<li>Move the list of lint rules from the readme to a separate
<a href="https://github.com/dart-lang/lints/blob/main/rules.md">rules.md</a> file.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="975c687068"><code>975c687</code></a> rev to 3.0.0; prep to publish (<a href="https://redirect.github.com/dart-lang/lints/issues/160">#160</a>)</li>
<li><a href="90d350eb89"><code>90d350e</code></a> Bump actions/checkout from 3.6.0 to 4.1.0 (<a href="https://redirect.github.com/dart-lang/lints/issues/159">#159</a>)</li>
<li><a href="140c8025fe"><code>140c802</code></a> Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (<a href="https://redirect.github.com/dart-lang/lints/issues/158">#158</a>)</li>
<li><a href="624a09da9c"><code>624a09d</code></a> add dangling_library_doc_comments, remove prefer_void_to_null (<a href="https://redirect.github.com/dart-lang/lints/issues/157">#157</a>)</li>
<li><a href="296efaf291"><code>296efaf</code></a> remove no_wildcard_variable_uses; improve testing (<a href="https://redirect.github.com/dart-lang/lints/issues/156">#156</a>)</li>
<li><a href="c266a04d9b"><code>c266a04</code></a> rev to 3.0.0-beta in preparation for publishing (<a href="https://redirect.github.com/dart-lang/lints/issues/153">#153</a>)</li>
<li><a href="b044acab9f"><code>b044aca</code></a> add several rules to core and recommended (<a href="https://redirect.github.com/dart-lang/lints/issues/150">#150</a>)</li>
<li><a href="81100a2eba"><code>81100a2</code></a> fix a dangling table link (<a href="https://redirect.github.com/dart-lang/lints/issues/146">#146</a>)</li>
<li><a href="8d5f750002"><code>8d5f750</code></a> move the list of lint rules from the readme to a separate rules.md file (<a href="https://redirect.github.com/dart-lang/lints/issues/145">#145</a>)</li>
<li><a href="da44af3d26"><code>da44af3</code></a> Bump actions/checkout from 3.5.3 to 3.6.0 (<a href="https://redirect.github.com/dart-lang/lints/issues/144">#144</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/dart-lang/lints/compare/v2.1.1...v3.0.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lints&package-manager=pub&previous-version=2.1.1&new-version=3.0.0)](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>
2023-10-19 07:07:24 +00:00
Brett Morgan
7d169b4d98 Update for 3.13 stable (#1992) 2023-08-24 11:52:33 -05:00
Brett Morgan
f1fd4341ff Flutter beta (#1952) 2023-08-17 06:26:43 +10:00
Miguel Beltran
93db48966c Explicit import for Platform and kIsWeb (#1898)
Following the ideas in flutter/website#7798 I have changed the imports
needed for Platform and kIsWeb to be explicitly named.

## Pre-launch Checklist

- [ ] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [ ] I signed the [CLA].
- [ ] I read the [Contributors Guide].
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2023-06-23 13:24:11 +10:00
dependabot[bot]
d2f4101025 Bump http from 0.13.6 to 1.0.0 in /code_sharing/server (#1832)
Bumps [http](https://github.com/dart-lang/http/tree/master/pkgs) from
0.13.6 to 1.0.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/dart-lang/http/commits/HEAD/pkgs">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=http&package-manager=pub&previous-version=0.13.6&new-version=1.0.0)](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`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<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 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 18:34:49 +10:00
dependabot[bot]
a322ad42a3 Bump http from 0.13.6 to 1.0.0 in /code_sharing/client (#1831)
Bumps [http](https://github.com/dart-lang/http/tree/master/pkgs) from
0.13.6 to 1.0.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/dart-lang/http/commits/HEAD/pkgs">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=http&package-manager=pub&previous-version=0.13.6&new-version=1.0.0)](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`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<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 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 18:29:09 +10:00
Brett Morgan
82e38e5b79 Update samples for Dart 3.0.0 (#1803) 2023-05-11 12:48:09 +10:00
Brett Morgan
36e7a6ab04 Update for Flutter 3.10 beta (#1746)
## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [ ] All existing and new tests are passing.

---------

Co-authored-by: David Iglesias <ditman@gmail.com>
Co-authored-by: Mark Thompson <2554588+MarkTechson@users.noreply.github.com>
Co-authored-by: John Ryan <ryjohn@google.com>
2023-05-11 06:16:31 +10:00
Brett Morgan
31a3d14618 Rebuild runners (#1725) 2023-04-08 07:44:56 +10:00
Brett Morgan
3bafa557f7 Update sdk constraint range and update runners (#1706) 2023-03-23 18:13:59 +10:00
Miguel Beltran
5b6b77995a Enable Material 3 on code_sharing sample (#1607) 2023-01-28 07:31:20 +11:00
Kevin Moore
6caaa0a3c9 code sharing sample: flat package directory (#1486) 2022-10-20 09:00:41 -07:00
Brett Morgan
d99fb974a0 Re-add Craig Labenz's code sharing sample (#1466)
* Revert "Revert "Add code sharing sample (#1444)" (#1464)"

This reverts commit dc50c46ef1.

* Opting out failing tests on Windows for CI

Co-authored-by: Craig Labenz <craig.labenz@gmail.com>
2022-10-18 13:15:31 -04:00
Brett Morgan
dc50c46ef1 Revert "Add code sharing sample (#1444)" (#1464)
This reverts commit fc6222ebc8.
2022-10-07 14:26:40 -07:00
Craig Labenz
fc6222ebc8 Add code sharing sample (#1444)
* code-sharing boilerplate

* initial commit of code-sharing logic

* documentation improvements

* added code-sharing to samples.yaml

* Updated counter UI to visually indicate communication with the server

* added code_sharing to CI

* CI changes to code_sharing

* fixed test with DI

* formatting

* added shared module to CI

* adds forgotten CI change
2022-10-05 08:47:30 -07:00