mirror of https://github.com/flutter/samples.git
gh-pages
main
flutter3.27
compass-app
jwill_m3_demo
sethladd-patch-3
sethladd-patch-1
sethladd-patch-2
recipe_readme
add_ai_recipe_app
remove_window_size_nav_app
android-builds
startup_cleanup
misc/adjust-flutter-gallery-inclusion
khanh_m3_demo
leigha_m3_demo
add_interactive_color_scheme
update_card_to_card_outlined
navigation-and-routing-update
update_demo_code
master_archived
${ noResults }
35 Commits (415fdbbf1ba8aefab43a6cc9977ae28bce20dede)
Author | SHA1 | Message | Date |
---|---|---|---|
Brett Morgan |
b6e58325bf
|
Update `pedometer` (#2424)
## 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/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md |
3 months ago |
dependabot[bot] |
4c753b2a4a
|
Bump fl_chart from 0.68.0 to 0.69.0 in /experimental/pedometer/example (#2399)
Bumps [fl_chart](https://github.com/imaNNeo/fl_chart) from 0.68.0 to 0.69.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.69.0</h2> <ul> <li><strong>BUGFIX</strong> (by <a href="https://github.com/imaNNeo"><code>@imaNNeo</code></a>) Fix a memory leak issue in the axis-based charts, there was a logic to calculate and cache the minX, maxX, minY and maxY properties to reduce the computation cost. But it caused some memory issues, as we don't have a quick solution for this, we disabled the caching logic for now, later we can move the calculation logic to the render objects to keep and update them only when the data is changed, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1106">#1106</a>, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1693">#1693</a></li> <li><strong>BUGFIX</strong> (by <a href="https://github.com/imaNNeo"><code>@imaNNeo</code></a>) Fix showing grid lines even when there is no line to show in the LineChart, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1691">#1691</a></li> <li><strong>IMPROVEMENT</strong> (by <a href="https://github.com/sczesla"><code>@sczesla</code></a>) Allow users to control minIncluded and maxIncluded using SideTitles, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/906">#906</a></li> <li><strong>IMPROVEMENT</strong> (by <a href="https://github.com/elizabethzhenliu"><code>@elizabethzhenliu</code></a>) Reverse the touch order in ScatterChart, so now the top spots are touched first, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1675">#1675</a></li> <li><strong>IMPROVEMENT</strong> (by <a href="https://github.com/ksw2000"><code>@ksw2000</code></a>) Remove redundant math import, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1683">#1683</a></li> <li><strong>IMPROVEMENT</strong> (by <a href="https://github.com/Neer-Pathak"><code>@Neer-Pathak</code></a>) Fix linux example build issue, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1668">#1668</a></li> <li><strong>IMPROVEMENT</strong> (by <a href="https://github.com/TobiasRump"><code>@TobiasRump</code></a>) Update the bar chart documentation, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1662">#1662</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/imaNNeo/fl_chart/blob/main/CHANGELOG.md">fl_chart's changelog</a>.</em></p> <blockquote> <h2>0.69.0</h2> <ul> <li><strong>BUGFIX</strong> (by <a href="https://github.com/imaNNeo"><code>@imaNNeo</code></a>) Fix a memory leak issue in the axis-based charts, there was a logic to calculate and cache the minX, maxX, minY and maxY properties to reduce the computation cost. But it caused some memory issues, as we don't have a quick solution for this, we disabled the caching logic for now, later we can move the calculation logic to the render objects to keep and update them only when the data is changed, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1106">#1106</a>, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1693">#1693</a></li> <li><strong>BUGFIX</strong> (by <a href="https://github.com/imaNNeo"><code>@imaNNeo</code></a>) Fix showing grid lines even when there is no line to show in the LineChart, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1691">#1691</a></li> <li><strong>IMPROVEMENT</strong> (by <a href="https://github.com/sczesla"><code>@sczesla</code></a>) Allow users to control minIncluded and maxIncluded using SideTitles, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/906">#906</a></li> <li><strong>IMPROVEMENT</strong> (by <a href="https://github.com/elizabethzhenliu"><code>@elizabethzhenliu</code></a>) Reverse the touch order in ScatterChart, so now the top spots are touched first, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1675">#1675</a></li> <li><strong>IMPROVEMENT</strong> (by <a href="https://github.com/ksw2000"><code>@ksw2000</code></a>) Remove redundant math import, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1683">#1683</a></li> <li><strong>IMPROVEMENT</strong> (by <a href="https://github.com/Neer-Pathak"><code>@Neer-Pathak</code></a>) Fix linux example build issue, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1668">#1668</a></li> <li><strong>IMPROVEMENT</strong> (by <a href="https://github.com/TobiasRump"><code>@TobiasRump</code></a>) Update the bar chart documentation, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1662">#1662</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
3 months ago |
dependabot[bot] |
7c4b4b7b53
|
Bump jni from 0.9.3 to 0.10.1 in /experimental/pedometer (#2352)
Bumps [jni](https://github.com/dart-lang/native/tree/main/pkgs) from 0.9.3 to 0.10.1. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/dart-lang/native/commits/HEAD/pkgs">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.9.3&new-version=0.10.1)](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 <brett.morgan@gmail.com> |
4 months ago |
Kevin Moore |
a858f4701e
|
Bump deps and min SDKs, move web apps to new bootstrapping logic (#2292)
Also removed the web measurement experiment from the material 3 demo |
6 months ago |
dependabot[bot] |
6ab9f8eab4
|
Bump flutter_lints from 3.0.2 to 4.0.0 in /experimental/pedometer/example (#2274)
|
6 months ago |
dependabot[bot] |
599877742c
|
Bump fl_chart from 0.67.0 to 0.68.0 in /experimental/pedometer/example (#2272)
Bumps [fl_chart](https://github.com/imaNNeo/fl_chart) from 0.67.0 to 0.68.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.68.0</h2> <ul> <li><strong>Improvement</strong> (by <a href="https://github.com/imaNNeo"><code>@âimaNNeo</code></a>) Update LineChartSample6 to implement a way to show a tooltip on a single spot, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1620">#1620</a></li> <li><strong>Feature</strong> (by <a href="https://github.com/herna"><code>@âherna</code></a>) Add <code>titleSunbeamLayout</code> inside the <a href="https://github.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/bar_chart.md#barchartdata">BarChartData</a> to allow the user to customize the layout of the title sunbeam</li> <li><strong>Improvement</strong> (by <a href="https://github.com/imaNNeo"><code>@âimaNNeo</code></a>) Add LineChart and BarChart explanation videos on top of the respective documentation pages (<a href="https://youtu.be/F3wTxTdAFaU?si=8lwlypKjt-0aJJK0">LineChart video</a>, <a href="https://youtu.be/vYe0RY1nCAA?si=30q_7eNn9MDLcph4">BarChart video</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/imaNNeo/fl_chart/blob/main/CHANGELOG.md">fl_chart's changelog</a>.</em></p> <blockquote> <h2>0.68.0</h2> <ul> <li><strong>Improvement</strong> (by <a href="https://github.com/imaNNeo"><code>@âimaNNeo</code></a>) Update LineChartSample6 to implement a way to show a tooltip on a single spot, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1620">#1620</a></li> <li><strong>Feature</strong> (by <a href="https://github.com/herna"><code>@âherna</code></a>) Add <code>titleSunbeamLayout</code> inside the <a href="https://github.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/bar_chart.md#barchartdata">BarChartData</a> to allow the user to customize the layout of the title sunbeam</li> <li><strong>Improvement</strong> (by <a href="https://github.com/imaNNeo"><code>@âimaNNeo</code></a>) Add LineChart and BarChart explanation videos on top of the respective documentation pages (<a href="https://youtu.be/F3wTxTdAFaU?si=8lwlypKjt-0aJJK0">LineChart video</a>, <a href="https://youtu.be/vYe0RY1nCAA?si=30q_7eNn9MDLcph4">BarChart video</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
6 months ago |
dependabot[bot] |
5d31ef8c2b
|
Bump jni from 0.8.0 to 0.9.0 in /experimental/pedometer (#2268)
Bumps [jni](https://github.com/dart-lang/native/tree/main/pkgs) from 0.8.0 to 0.9.0. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/dart-lang/native/commits/HEAD/pkgs">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.8.0&new-version=0.9.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: Parker Lougheed <parlough@gmail.com> |
7 months ago |
Parker Lougheed |
f4083c19b2
|
Update pedometer sample for jni 0.8.0 (#2237)
Also clean up some nearby Dart code :) |
7 months ago |
dependabot[bot] |
aab2b441a1
|
Bump fl_chart from 0.66.2 to 0.67.0 in /experimental/pedometer/example (#2226)
Bumps [fl_chart](https://github.com/imaNNeo/fl_chart) from 0.66.2 to 0.67.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.67.0</h2> <ul> <li><strong>FEATURE</strong> (by <a href="https://github.com/julien4215"><code>@julien4215</code></a>) Add direction property to the <a href="https://github.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/base_chart.md#horizontallinelabel">HorizontalLineLabel</a> and <a href="https://github.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/base_chart.md#verticallinelabel">VerticalLineLabel</a>, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1574">#1574</a></li> <li><strong>FEATURE</strong> (by <a href="https://github.com/apekshamehta"><code>@apekshamehta</code></a>) Added new method called getTooltipColor for axis charts (bar,line,scatter) to change background color of tooltip dynamically.<a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1279">issue</a>.</li> <li><strong>BREAKING</strong> (by <a href="https://github.com/apekshamehta"><code>@apekshamehta</code></a>) Removed tooltipBgColor property from Bar, Line and Scatter Charts (you can now use <code>getTooltipColor</code> which provides more customizability), checkout the <a href="https://github.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/migration_guides/0.67.0/MIGRATION_00_67_00.md">full migration guide here</a>.</li> </ul> <pre lang="dart"><code>/// Migration guide: /// This is the old way: BarChartData( barTouchData: BarTouchData( touchTooltipData: BarTouchTooltipData( tooltipBgColor: Colors.blueGrey, ) ) ) <p>/// This is the new way: BarChartData( barTouchData: BarTouchData( touchTooltipData: BarTouchTooltipData( getTooltipColor: (BarChartGroupData group) => Colors.blueGrey, ) ) ) </code></pre></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/imaNNeo/fl_chart/blob/main/CHANGELOG.md">fl_chart's changelog</a>.</em></p> <blockquote> <h2>0.67.0</h2> <ul> <li><strong>FEATURE</strong> (by <a href="https://github.com/julien4215"><code>@julien4215</code></a>) Add direction property to the <a href="https://github.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/base_chart.md#horizontallinelabel">HorizontalLineLabel</a> and <a href="https://github.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/base_chart.md#verticallinelabel">VerticalLineLabel</a>, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1574">#1574</a></li> <li><strong>FEATURE</strong> (by <a href="https://github.com/apekshamehta"><code>@apekshamehta</code></a>) Added new method called getTooltipColor for axis charts (bar,line,scatter) to change background color of tooltip dynamically, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1279">#1279</a>.</li> <li><strong>BREAKING</strong> (by <a href="https://github.com/apekshamehta"><code>@apekshamehta</code></a>) Removed tooltipBgColor property from Bar, Line and Scatter Charts (you can now use <code>getTooltipColor</code> which provides more customizability), checkout the <a href="https://github.com/imaNNeo/fl_chart/blob/main/repo_files/documentations/migration_guides/0.67.0/MIGRATION_00_67_00.md">full migration guide here</a>.</li> </ul> <pre lang="dart"><code>/// Migration guide: /// This is the old way: BarChartData( barTouchData: BarTouchData( touchTooltipData: BarTouchTooltipData( tooltipBgColor: Colors.blueGrey, ) ) ) <p>/// This is the new way: BarChartData( barTouchData: BarTouchData( touchTooltipData: BarTouchTooltipData( getTooltipColor: (BarChartGroupData group) => Colors.blueGrey, ) ) ) </code></pre></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
8 months ago |
Soroush Beigi |
1f31580907
|
Updating samples Dart sdk to the last stable version (#2209)
|
8 months ago |
Sasank Tumpati |
0e1355841d
|
Fixed ThemeData in the Flutter Samples unnecessarily includes useMaterial3 = true (Issue #2214) (#2217)
|
8 months ago |
Parker Lougheed |
a697405859
|
Pedometer dependency updates and regeneration (#2133)
Supersedes https://github.com/flutter/samples/pull/2132 with regeneration as well --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
11 months ago |
dependabot[bot] |
2781d296aa
|
Bump fl_chart from 0.65.0 to 0.66.0 in /experimental/pedometer/example (#2130)
|
11 months ago |
dependabot[bot] |
ea0efc6b2c
|
Bump intl from 0.18.1 to 0.19.0 in /experimental/pedometer/example (#2107)
â ï¸ **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 [intl](https://github.com/dart-lang/i18n/tree/main/pkgs) from 0.18.1 to 0.19.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dart-lang/i18n/releases">intl's releases</a>.</em></p> <blockquote> <h2>package:intl v0.19.0</h2> <ul> <li>Update to CLDR v44.</li> <li>Update to CLDR v43.</li> <li>Add <code>tryParse</code> to NumberFormat.</li> <li>Add <code>tryParse</code> <code>tryParseStrict</code> <code>tryParseLoose</code> <code>tryParseUtc</code> to DateFormat.</li> <li>Switch QAR currency name to Riyal.</li> <li>Add license headers to some files.</li> <li>Update CVE currency symbol.</li> <li>Add <code>EEEEE</code> skeleton for <code>DateFormat</code>, closing <a href="https://redirect.github.com/dart-lang/i18n/issues/176">#176</a>.</li> <li>Switch to <code>3.0.0</code> SDK.</li> <li>Fix issue <a href="https://redirect.github.com/dart-lang/i18n/issues/483">#483</a> about date parsing with a <code>yy</code> skeleton.</li> <li>Extract <code>NumberParserBase</code> abstract class</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
12 months ago |
Liam Appelbe |
f0e6da6d24
|
Simplify experimental pedometer example (#2104)
Since ffigen added support for [`NativeCallable.listener`](https://api.flutter.dev/flutter/dart-ffi/NativeCallable/NativeCallable.listener.html) to its ObjC bindings, this example can be simplified. We can replace the `Dart_Port` logic with `ObjCBlock.listener`, which lets us get rid of most of the native code. We still need a small bit of native code to `retain` a reference to the callback's arguments before invoking the listener, otherwise the arguments may be ref counted and deleted before the Dart side of the callback is invoked. See https://github.com/dart-lang/native/issues/835 |
12 months ago |
dependabot[bot] |
708b351e08
|
Bump fl_chart from 0.64.0 to 0.65.0 in /experimental/pedometer/example (#2099)
Bumps [fl_chart](https://github.com/imaNNeo/fl_chart) from 0.64.0 to 0.65.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.65.0</h2> <ul> <li><strong>FEATURE</strong> (by <a href="https://github.com/Dartek12"><code>@âDartek12</code></a>) Added gradient to <a href="https://github.com/imaNNeo/fl_chart/blob/master/repo_files/documentations/base_chart.md#FlLine">FlLine</a>, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1197">#1197</a></li> <li><strong>BUGFIX</strong> (by <a href="https://github.com/imaNNeo"><code>@âimaNNeo</code></a>) Fix bar line shadow crash when we have only one (or zero) spot, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1466">#1466</a></li> <li><strong>BUGFIX</strong> (by <a href="https://github.com/imaNNeo"><code>@âimaNNeo</code></a>) Fix having negative <code>toY</code> (or positive <code>fromY</code>) in BarChart's <code>minY</code> and <code>maxY</code> calculations, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1470">#1470</a></li> <li><strong>BUGFIX</strong> (by <a href="https://github.com/bobatsar"><code>@âbobatsar</code></a>) Fix bars drawn outside of diagram</li> <li><strong>FEATURE</strong> (by <a href="https://github.com/k0psutin"><code>@âk0psutin</code></a>) Add dashed border to BarChartRodData, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1144">#1144</a></li> <li><strong>FEATURE</strong> (by <a href="https://github.com/imaNNeo"><code>@âimaNNeo</code></a>) Allow to show single point line in LineChart, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1438">#1438</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.65.0</h2> <ul> <li><strong>FEATURE</strong> (by <a href="https://github.com/Dartek12"><code>@âDartek12</code></a>) Added gradient to <a href="https://github.com/imaNNeo/fl_chart/blob/master/repo_files/documentations/base_chart.md#FlLine">FlLine</a>, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1197">#1197</a></li> <li><strong>BUGFIX</strong> (by <a href="https://github.com/imaNNeo"><code>@âimaNNeo</code></a>) Fix bar line shadow crash when we have only one (or zero) spot, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1466">#1466</a></li> <li><strong>BUGFIX</strong> (by <a href="https://github.com/imaNNeo"><code>@âimaNNeo</code></a>) Fix having negative <code>toY</code> (or positive <code>fromY</code>) in BarChart's <code>minY</code> and <code>maxY</code> calculations, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1470">#1470</a></li> <li><strong>BUGFIX</strong> (by <a href="https://github.com/bobatsar"><code>@âbobatsar</code></a>) Fix bars drawn outside of diagram</li> <li><strong>FEATURE</strong> (by <a href="https://github.com/k0psutin"><code>@âk0psutin</code></a>) Add dashed border to BarChartRodData, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1144">#1144</a></li> <li><strong>FEATURE</strong> (by <a href="https://github.com/imaNNeo"><code>@âimaNNeo</code></a>) Allow to show single point line in LineChart, <a href="https://redirect.github.com/imaNNeo/fl_chart/issues/1438">#1438</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
12 months ago |
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 |
1 year ago |
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=" |
1 year ago |
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=" |
1 year ago |
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><Interface>.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> |
1 year ago |
Hossein Yousefi |
654e50beca
|
[experimental/pedometer] Update jni and jnigen to 0.6 (#2006)
|
1 year ago |
Brett Morgan |
7d169b4d98
|
Update for 3.13 stable (#1992)
|
1 year ago |
Brett Morgan |
f1fd4341ff
|
Flutter beta (#1952)
|
1 year ago |
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 |
1 year ago |
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> |
1 year ago |
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=" |
1 year ago |
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. |
1 year ago |
Brett Morgan |
82e38e5b79
|
Update samples for Dart 3.0.0 (#1803)
|
2 years ago |
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> |
2 years ago |
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=" |
2 years ago |
Brett Morgan |
3bafa557f7
|
Update `sdk` constraint range and update runners (#1706)
|
2 years ago |
dependabot[bot] |
d900c9cd3f
|
Bump fl_chart from 0.55.2 to 0.61.0 in /experimental/pedometer/example (#1678)
|
2 years ago |
Hossein Yousefi |
dd3a024aa8
|
[experimental/pedometer] Use `jnigen` and `jni` version from pub instead of git url. (#1655)
|
2 years ago |
Brett Morgan |
1a383e9361
|
`experimental/pedometer`: fixup linter warning (#1589)
|
2 years ago |
Brett Morgan |
70f3daa9f7
|
Add `experimental/pedometer` (#1587)
* Add `experimental/pedometer` * Fixup for linter warnings * Update CI config |
2 years ago |