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

26 Commits

Author SHA1 Message Date
Brett Morgan
e5ec08fccd Update Samples for 3.16 (#2085)
*Replace this paragraph with a description of what this PR is changing
or adding, and why. Consider including before/after screenshots.*

*List which issues are fixed by this PR. For larger changes, raising an
issue first helps
reduce redundant work.*

## 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-11-16 08:55:44 +10:00
dependabot[bot]
8e14f553ce Bump flutter_lints from 2.0.3 to 3.0.0 in /experimental/pedometer/example (#2047)
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`.

[//]: # (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:53:36 +10:00
dependabot[bot]
12f0e52c3e Bump flutter_lints from 2.0.3 to 3.0.0 in /experimental/pedometer (#2061)
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`.

[//]: # (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:53:19 +10:00
dependabot[bot]
e14a2aa2bb Bump fl_chart from 0.63.0 to 0.64.0 in /experimental/pedometer/example (#2039)
Bumps [fl_chart](https://github.com/imaNNeo/fl_chart) from 0.63.0 to 0.64.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/imaNNeo/fl_chart/releases">fl_chart's releases</a>.</em></p>
<blockquote>
<h2>0.64.0</h2>
<ul>
<li><strong>BUGFIX</strong> (by <a href="https://github.com/Anas35"><code>@​Anas35</code></a>) Fix Tooltip not displaying when value from BackgroundBarChartRodData is less than zero. <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1345">#1345</a>.</li>
<li><strong>BUGFIX</strong> (by <a href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Fix Negative BarChartRodStackItem are not drawn correctly bug, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1347">#1347</a></li>
<li><strong>BUGFIX</strong> (by <a href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Fix bar_chart_helper minY calculation bug, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1388">#1388</a></li>
<li><strong>IMPROVEMENT</strong> (by <a href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Consider fraction digits when formatting chart side titles, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1267">#1267</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/imaNNeo/fl_chart/blob/master/CHANGELOG.md">fl_chart's changelog</a>.</em></p>
<blockquote>
<h2>0.64.0</h2>
<ul>
<li><strong>BUGFIX</strong> (by <a href="https://github.com/Anas35"><code>@​Anas35</code></a>) Fix Tooltip not displaying when value from BackgroundBarChartRodData is less than zero. <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1345">#1345</a>.</li>
<li><strong>BUGFIX</strong> (by <a href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Fix Negative BarChartRodStackItem are not drawn correctly bug, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1347">#1347</a></li>
<li><strong>BUGFIX</strong> (by <a href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Fix bar_chart_helper minY calculation bug, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1388">#1388</a></li>
<li><strong>IMPROVEMENT</strong> (by <a href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Consider fraction digits when formatting chart side titles, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1267">#1267</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="633c40d692"><code>633c40d</code></a> Bump version to 0.64.0</li>
<li><a href="621b79e82d"><code>621b79e</code></a> Update CHANGELOG.md</li>
<li><a href="cb51189fc2"><code>cb51189</code></a> Consider fraction digits when formatting chart side titles, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1267">#1267</a></li>
<li><a href="ce49b92e1a"><code>ce49b92</code></a> Fix donation link in README.md file</li>
<li><a href="4c6d2b34c3"><code>4c6d2b3</code></a> chore: bump actions/checkout from 2 to 4</li>
<li><a href="04b18d2242"><code>04b18d2</code></a> Update CHANGELOG.md</li>
<li><a href="eeb1ba4204"><code>eeb1ba4</code></a> Fix bar_chart_helper minY calculation bug, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1388">#1388</a></li>
<li><a href="5d81d616c9"><code>5d81d61</code></a> Use <code>dart format</code> instead of <code>flutter format</code> (deprecated).</li>
<li><a href="dd479e0e31"><code>dd479e0</code></a> Decrease menu items sizes</li>
<li><a href="306989dc60"><code>306989d</code></a> Simplify ChartType enum</li>
<li>Additional commits viewable in <a href="https://github.com/imaNNeo/fl_chart/compare/0.63.0...0.64.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fl_chart&package-manager=pub&previous-version=0.63.0&new-version=0.64.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-09 07:48:21 +00:00
dependabot[bot]
8091d130a4 Bump jni from 0.6.1 to 0.7.0 in /experimental/pedometer (#2015)
Bumps [jni](https://github.com/dart-lang/jnigen) from 0.6.1 to 0.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dart-lang/jnigen/releases">jni's releases</a>.</em></p>
<blockquote>
<h2>package:jni v0.7.0</h2>
<ul>
<li><strong>Breaking Change</strong> (<a href="https://redirect.github.com/dart-lang/jnigen/issues/387">#387</a>): Added <code>JBuffer</code> and <code>JByteBuffer</code> classes as default classes for <code>java.nio.Buffer</code> and <code>java.nio.ByteBuffer</code> respectively.</li>
<li><strong>Breaking Change</strong>: Made the type classes <code>final</code>.</li>
<li>Fixed a bug where <code>addAll</code>, <code>removeAll</code> and <code>retainAll</code> in <code>JSet</code> would run their respective operation twice.</li>
<li>Fixed a bug where <code>JList.insertAll</code> would not throw the potentially thrown Java exception.</li>
</ul>
<h2>package:jnigen v0.7.0</h2>
<ul>
<li><strong>Breaking Change</strong> (<a href="https://redirect.github.com/dart-lang/jnigen/issues/387">#387</a>): Added <code>JBuffer</code> and <code>JByteBuffer</code> classes as default classes for <code>java.nio.Buffer</code> and <code>java.nio.ByteBuffer</code> respectively.</li>
<li><strong>Breaking Change</strong>: Made the type classes <code>final</code>.</li>
<li>Added <code>ignore_for_file: lines_longer_than_80_chars</code> to the generated file preamble.</li>
<li>Added an explicit cast in generated <code>&lt;Interface&gt;.implement</code> code to allow <code>dart analyze</code> to pass when <code>strict-casts</code> is set.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/dart-lang/jnigen/commits/jni-v0.7.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jni&package-manager=pub&previous-version=0.6.1&new-version=0.7.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-09-14 23:10:13 +00:00
dependabot[bot]
7f5ea5cf9b Bump jnigen from 0.6.0 to 0.7.0 in /experimental/pedometer (#2016)
Bumps [jnigen](https://github.com/dart-lang/jnigen) from 0.6.0 to 0.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dart-lang/jnigen/releases">jnigen's releases</a>.</em></p>
<blockquote>
<h2>package:jnigen v0.7.0</h2>
<ul>
<li><strong>Breaking Change</strong> (<a href="https://redirect.github.com/dart-lang/jnigen/issues/387">#387</a>): Added <code>JBuffer</code> and <code>JByteBuffer</code> classes as default classes for <code>java.nio.Buffer</code> and <code>java.nio.ByteBuffer</code> respectively.</li>
<li><strong>Breaking Change</strong>: Made the type classes <code>final</code>.</li>
<li>Added <code>ignore_for_file: lines_longer_than_80_chars</code> to the generated file preamble.</li>
<li>Added an explicit cast in generated <code>&lt;Interface&gt;.implement</code> code to allow <code>dart analyze</code> to pass when <code>strict-casts</code> is set.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4443cebdd3"><code>4443ceb</code></a> Add <code>JBuffer</code>, <code>JByteBuffer</code> to enable fast copying to and from <code>Uint8List</code> (...</li>
<li><a href="7c837763be"><code>7c83776</code></a> Add <code>ignore_for_file: lines_longer_than_80_chars</code> to generated files (<a href="https://redirect.github.com/dart-lang/jnigen/issues/386">#386</a>)</li>
<li><a href="49d4ac04a5"><code>49d4ac0</code></a> Add correct cast to interface method invocation (<a href="https://redirect.github.com/dart-lang/jnigen/issues/385">#385</a>)</li>
<li><a href="b845ff1610"><code>b845ff1</code></a> Specify JDK min and max version in README (<a href="https://redirect.github.com/dart-lang/jnigen/issues/384">#384</a>)</li>
<li><a href="ef458e3b01"><code>ef458e3</code></a> jni-0.6.1 fix number of topics (<a href="https://redirect.github.com/dart-lang/jnigen/issues/382">#382</a>)</li>
<li><a href="eba06738a4"><code>eba0673</code></a> Bump actions/checkout from 3.5.3 to 3.6.0 (<a href="https://redirect.github.com/dart-lang/jnigen/issues/381">#381</a>)</li>
<li>See full diff in <a href="https://github.com/dart-lang/jnigen/compare/jnigen-v0.6.0...jnigen-v0.7.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jnigen&package-manager=pub&previous-version=0.6.0&new-version=0.7.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-09-14 06:56:18 +00:00
Hossein Yousefi
654e50beca [experimental/pedometer] Update jni and jnigen to 0.6 (#2006) 2023-09-02 07:26:40 +10: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
Parker Lougheed
f95f25a026 [pedometer] Fix file/folder links and cleanup instructions (#1988)
- Fixes links to specific files/folders
- Adds more file links where relevant
- Uses more specific link text than "here"
- Add links to relevant apps when mentioned
- Slightly expands on some instructions
- Cleans up formatting

Fixes https://github.com/flutter/samples/issues/1978
2023-08-09 16:26:41 +10:00
dependabot[bot]
0a1ec8eea9 Bump ffigen from 8.0.2 to 9.0.0 in /experimental/pedometer (#1944) 2023-07-21 15:52:11 +10:00
Miguel Beltran
65e30f1318 Enable Material 3 on experimental/pedometer (#1949)
Enable Material 3.

Only the font changes slightly.

#### Before Material 3


![Screenshot_20230720_150747](https://github.com/flutter/samples/assets/2494376/8dc203bc-8aa6-41bb-bf48-6f23ba992e6f)


#### With Material 3


![Screenshot_20230720_150844](https://github.com/flutter/samples/assets/2494376/88dedbbd-0531-4163-84b1-319c65bd3896)


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

Co-authored-by: Brett Morgan <brettmorgan@google.com>
2023-07-21 11:34:01 +10:00
Justin McCandless
726827dd8a Explain the pedometer example directory in its README (#1928)
I was tripped up when trying to run the pedometer example because I
didn't realize it was a plugin. The actual example app is in the
`example` directory.

In case anyone else is as oblivious as me, this will avoid similar
confusion.

Fixes https://github.com/flutter/samples/issues/1595
2023-06-29 08:56:00 +10:00
dependabot[bot]
2c646f04be Bump fl_chart from 0.62.0 to 0.63.0 in /experimental/pedometer/example (#1893)
Bumps [fl_chart](https://github.com/imaNNeo/fl_chart) from 0.62.0 to
0.63.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/imaNNeo/fl_chart/releases">fl_chart's
releases</a>.</em></p>
<blockquote>
<h2>0.63.0</h2>
<ul>
<li><strong>BUGFIX</strong> (by <a
href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Fix
PieChart crash on web-renderer html by ignoring
<code>sectionsSpace</code> when <code>Path.combine()</code> does not
work (it's flutter engine <a
href="https://redirect.github.com/flutter/flutter/issues/44572">issue</a>),
<a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/955">#955</a></li>
<li><strong>BUGFIX</strong> (by <a
href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Fix
ScatterChart long-press interaction bug (disappears when long-pressing
on the chart), <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/1318">#1318</a></li>
<li><strong>FEATURE</strong> (by <a
href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Upgrade
dart version to <a
href="https://dart.dev/resources/dart-3-migration">3.0</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/imaNNeo/fl_chart/blob/master/CHANGELOG.md">fl_chart's
changelog</a>.</em></p>
<blockquote>
<h2>0.63.0</h2>
<ul>
<li><strong>BUGFIX</strong> (by <a
href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Fix
PieChart crash on web-renderer html by ignoring
<code>sectionsSpace</code> when <code>Path.combine()</code> does not
work (it's flutter engine <a
href="https://redirect.github.com/flutter/flutter/issues/44572">issue</a>),
<a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/955">#955</a></li>
<li><strong>BUGFIX</strong> (by <a
href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Fix
ScatterChart long-press interaction bug (disappears when long-pressing
on the chart), <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/1318">#1318</a></li>
<li><strong>FEATURE</strong> (by <a
href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Upgrade
dart version to <a
href="https://dart.dev/resources/dart-3-migration">3.0</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6c0e43f7e7"><code>6c0e43f</code></a>
Bump version to 0.63.0</li>
<li><a
href="81a2618d1b"><code>81a2618</code></a>
Update github publish action</li>
<li><a
href="3b2188d3f2"><code>3b2188d</code></a>
Update line_chart.md</li>
<li><a
href="872878b0ce"><code>872878b</code></a>
Fix analyze issues with Dart 3.0</li>
<li><a
href="2984262886"><code>2984262</code></a>
chore: bump very_good_analysis from 4.0.0+1 to 5.0.0</li>
<li><a
href="ba1fa734b7"><code>ba1fa73</code></a>
docs wrong link fix</li>
<li><a
href="f91d4bf322"><code>f91d4bf</code></a>
Update CHANGELOG.md</li>
<li><a
href="5db8f6db61"><code>5db8f6d</code></a>
Update tests to fix the CI issue</li>
<li><a
href="6db877acec"><code>6db877a</code></a>
Fix analyze issues</li>
<li><a
href="46ef2c0dc5"><code>46ef2c0</code></a>
Upgrade dependencies</li>
<li>Additional commits viewable in <a
href="https://github.com/imaNNeo/fl_chart/compare/0.62.0...0.63.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fl_chart&package-manager=pub&previous-version=0.62.0&new-version=0.63.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>
Co-authored-by: Hossein Yousefi <yousefi@google.com>
2023-06-13 12:23:57 +02:00
Hossein Yousefi
aff3b0979e Update pedometer to jni and jnigen:0.5.0 (#1863)
Updates the pedometer sample to the latest version of jni and jnigen.
2023-06-02 09:12:44 +02: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
dependabot[bot]
363909914e Bump jnigen from 0.3.0 to 0.4.0 in /experimental/pedometer (#1771)
Bumps [jnigen](https://github.com/dart-lang/jnigen) from 0.3.0 to 0.4.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/dart-lang/jnigen/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jnigen&package-manager=pub&previous-version=0.3.0&new-version=0.4.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-03 18:02:11 +10:00
dependabot[bot]
79ba199ce2 Bump fl_chart from 0.61.0 to 0.62.0 in /experimental/pedometer/example (#1739)
Bumps [fl_chart](https://github.com/imaNNeo/fl_chart) from 0.61.0 to
0.62.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/imaNNeo/fl_chart/releases">fl_chart's
releases</a>.</em></p>
<blockquote>
<h2>0.62.0</h2>
<ul>
<li><strong>BUGFIX</strong> (by <a
href="https://github.com/JoshMart"><code>@​JoshMart</code></a>) Fix
extra lines not painting when at chart min or max, <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/1255">#1255</a>.</li>
<li><strong>BUGFIX</strong> (by <a
href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Check if
mounted before calling setState in _handleBuiltInTouch methods in bar,
line and scatter charts, <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/1101">#1101</a></li>
<li><strong>FEATURE</strong> (by <a
href="https://github.com/MagdyYacoub1"><code>@​MagdyYacoub1</code></a>):
Added gradient color to <a
href="https://github.com/imaNNeo/fl_chart/blob/master/repo_files/documentations/base_chart.md#rangeannotations">RangeAnnotations</a>
by adding gradient attribute to <a
href="https://github.com/imaNNeo/fl_chart/blob/master/repo_files/documentations/base_chart.md#horizontalrangeannotation">horizontalRangeAnnotations</a>
and <a
href="https://github.com/imaNNeo/fl_chart/blob/master/repo_files/documentations/base_chart.md#verticalrangeannotation">VerticalRangeAnnotation</a>,
<a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/1195">#1195</a>.</li>
<li><strong>BUGFIX</strong> (by <a
href="https://github.com/Motionz-Von"><code>@​Motionz-Von</code></a>)Fix
windows build for example app</li>
<li><strong>FEATURE</strong> (by <a
href="https://github.com/Motionz-Von"><code>@​Motionz-Von</code></a>)BarChart
groupSpace also takes effect when alignment is BarChartAlignment.end or
BarChartAlignment.start.</li>
<li><strong>FEATURE</strong> (by <a
href="https://github.com/Motionz-Von"><code>@​Motionz-Von</code></a>)
supports setting line StrokeCap on HorizontalLine/VerticalLine</li>
<li><strong>BUGFIX</strong> (by <a
href="https://github.com/nav-28"><code>@​nav-28</code></a>) Fix radar
chart tick and graph point not matching <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/1078">#1078</a></li>
<li><strong>IMPROVEMENT</strong> (by <a
href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Update
LineChartSample5 to demonstrate click to toggle show/hide tooltip, <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/118">#118</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/imaNNeo/fl_chart/blob/master/CHANGELOG.md">fl_chart's
changelog</a>.</em></p>
<blockquote>
<h2>0.62.0</h2>
<ul>
<li><strong>BUGFIX</strong> (by <a
href="https://github.com/JoshMart"><code>@​JoshMart</code></a>) Fix
extra lines not painting when at chart min or max, <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/1255">#1255</a>.</li>
<li><strong>BUGFIX</strong> (by <a
href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Check if
mounted before calling setState in _handleBuiltInTouch methods in bar,
line and scatter charts, <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/1101">#1101</a></li>
<li><strong>FEATURE</strong> (by <a
href="https://github.com/MagdyYacoub1"><code>@​MagdyYacoub1</code></a>):
Added gradient color to <a
href="https://github.com/imaNNeo/fl_chart/blob/master/repo_files/documentations/base_chart.md#rangeannotations">RangeAnnotations</a>
by adding gradient attribute to <a
href="https://github.com/imaNNeo/fl_chart/blob/master/repo_files/documentations/base_chart.md#horizontalrangeannotation">horizontalRangeAnnotations</a>
and <a
href="https://github.com/imaNNeo/fl_chart/blob/master/repo_files/documentations/base_chart.md#verticalrangeannotation">VerticalRangeAnnotation</a>,
<a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/1195">#1195</a>.</li>
<li><strong>BUGFIX</strong> (by <a
href="https://github.com/Motionz-Von"><code>@​Motionz-Von</code></a>)Fix
windows build for example app</li>
<li><strong>FEATURE</strong> (by <a
href="https://github.com/Motionz-Von"><code>@​Motionz-Von</code></a>)BarChart
groupSpace also takes effect when alignment is BarChartAlignment.end or
BarChartAlignment.start.</li>
<li><strong>FEATURE</strong> (by <a
href="https://github.com/Motionz-Von"><code>@​Motionz-Von</code></a>)
supports setting line StrokeCap on HorizontalLine/VerticalLine</li>
<li><strong>BUGFIX</strong> (by <a
href="https://github.com/nav-28"><code>@​nav-28</code></a>) Fix radar
chart tick and graph point not matching <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/1078">#1078</a></li>
<li><strong>IMPROVEMENT</strong> (by <a
href="https://github.com/imaNNeo"><code>@​imaNNeo</code></a>) Update
LineChartSample5 to demonstrate click to toggle show/hide tooltip, <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/118">#118</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="e55632ffdd"><code>e55632f</code></a>
Bump version to 0.62.0</li>
<li><a
href="1e763ba9ef"><code>1e763ba</code></a>
Set path strategy as a default strategy in web</li>
<li><a
href="04a9a0588f"><code>04a9a05</code></a>
Remove temp Iran banner and message</li>
<li><a
href="278d4c854b"><code>278d4c8</code></a>
Update LineChartSample5 to demonstrate click to toggle show/hide
tooltip, <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/118">#118</a></li>
<li><a
href="30f3b17dac"><code>30f3b17</code></a>
change dividing by zero condition</li>
<li><a
href="b898bd43d6"><code>b898bd4</code></a>
update changelog</li>
<li><a
href="c35539284f"><code>c355392</code></a>
fix radar chart tick point not scaling</li>
<li><a
href="e99695494d"><code>e996954</code></a>
doc: update Change log and doc-ing strokeCap for
VerticalLine/HorizontalLine</li>
<li><a
href="2457e70641"><code>2457e70</code></a>
refactor: fix tests</li>
<li><a
href="66eaeea81f"><code>66eaeea</code></a>
refactor: supports setting line StrokeCap on
HorizontalLine/VerticalLine</li>
<li>Additional commits viewable in <a
href="https://github.com/imaNNeo/fl_chart/compare/0.61.0...0.62.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fl_chart&package-manager=pub&previous-version=0.61.0&new-version=0.62.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-04-18 07:55:56 +10:00
Brett Morgan
31a3d14618 Rebuild runners (#1725) 2023-04-08 07:44:56 +10:00
BullsEye
604c82cd7c Fix spelling and Casing of word (#1697)
* Fix spelling and cases

Fixes: 
- Jave to Java on Line 6
- CmakeFile.txt to CMakeFile.txt on Line 41 and 50

* Correct the facts of file CMakeLists.txt
2023-03-23 19:55:23 +10:00
Brett Morgan
3bafa557f7 Update sdk constraint range and update runners (#1706) 2023-03-23 18:13:59 +10:00
dependabot[bot]
d900c9cd3f Bump fl_chart from 0.55.2 to 0.61.0 in /experimental/pedometer/example (#1678) 2023-02-27 16:11:07 +11:00
Hossein Yousefi
dd3a024aa8 [experimental/pedometer] Use jnigen and jni version from pub instead of git url. (#1655) 2023-02-20 10:56:12 +01:00
Brett Morgan
1a383e9361 experimental/pedometer: fixup linter warning (#1589) 2023-01-24 11:32:13 +10:00
Brett Morgan
70f3daa9f7 Add experimental/pedometer (#1587)
* Add `experimental/pedometer`

* Fixup for linter warnings

* Update CI config
2023-01-24 10:31:12 +10:00