|
|
|
name: pedometer_example
|
|
|
|
description: Demonstrates how to use the pedometer plugin.
|
|
|
|
# The following line prevents the package from being accidentally published to
|
|
|
|
# pub.dev using `flutter pub publish`. This is preferred for private packages.
|
|
|
|
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|
|
|
|
|
|
|
# The following defines the version and build number for your application.
|
|
|
|
# A version number is three numbers separated by dots, like 1.2.43
|
|
|
|
# followed by an optional build number separated by a +.
|
|
|
|
# Both the version and the builder number may be overridden in flutter
|
|
|
|
# build by specifying --build-name and --build-number, respectively.
|
|
|
|
# In Android, build-name is used as versionName while build-number used as versionCode.
|
|
|
|
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
|
|
|
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
|
|
|
|
# Read more about iOS versioning at
|
|
|
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
|
|
|
# In Windows, build-name is used as the major, minor, and patch parts
|
|
|
|
# of the product and file versions while build-number is used as the build suffix.
|
|
|
|
version: 1.0.0+1
|
|
|
|
|
|
|
|
environment:
|
|
|
|
sdk: ^3.4.0-0
|
|
|
|
|
|
|
|
# Dependencies specify other packages that your package needs in order to work.
|
|
|
|
# To automatically upgrade your package dependencies to the latest versions
|
|
|
|
# consider running `flutter pub upgrade --major-versions`. Alternatively,
|
|
|
|
# dependencies can be manually updated by changing the version numbers below to
|
|
|
|
# the latest version available on pub.dev. To see which dependencies have newer
|
|
|
|
# versions available, run `flutter pub outdated`.
|
|
|
|
dependencies:
|
|
|
|
flutter:
|
|
|
|
sdk: flutter
|
|
|
|
|
|
|
|
pedometer:
|
|
|
|
# When depending on this package from a real application you should use:
|
|
|
|
# pedometer: ^x.y.z
|
|
|
|
# See https://dart.dev/tools/pub/dependencies#version-constraints
|
|
|
|
# The example app is bundled with the plugin so we use a path dependency on
|
|
|
|
# the parent directory to use the current plugin's version.
|
|
|
|
path: ../
|
|
|
|
|
|
|
|
ffi: ^2.1.2
|
|
|
|
intl: ^0.19.0
|
|
|
|
jni: ^0.12.0
|
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="https://github.com/imaNNeo/fl_chart/commit/a6c274ced070da94243fd5c2b8b41e9180e8352d"><code>a6c274c</code></a>
Bump version to 0.69.0</li>
<li><a
href="https://github.com/imaNNeo/fl_chart/commit/b0a50a4c13bdf833eac9cf6f73853e0fe4243e34"><code>b0a50a4</code></a>
Update CHANGELOG.md</li>
<li><a
href="https://github.com/imaNNeo/fl_chart/commit/f5af4e5152f46e0852f70b949a0d4609d12ede22"><code>f5af4e5</code></a>
Update bar_chart.md to fix <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/1608">#1608</a></li>
<li><a
href="https://github.com/imaNNeo/fl_chart/commit/a6b2d24e607d580926863ec19511800c6d965e5c"><code>a6b2d24</code></a>
fix: Linux Example App Build</li>
<li><a
href="https://github.com/imaNNeo/fl_chart/commit/99ae675184f1ce36b871a2245155c591c046e76e"><code>99ae675</code></a>
Update CHANGELOG.md</li>
<li><a
href="https://github.com/imaNNeo/fl_chart/commit/37371d8bdcbaa8b2bf749fd1432d2fd36397e992"><code>37371d8</code></a>
fixed touch detection to select topmost spot. Spots are rendered in
order so ...</li>
<li><a
href="https://github.com/imaNNeo/fl_chart/commit/5a9606bd6840f941d18715b7c7f385748f09e0e6"><code>5a9606b</code></a>
Remove redundant import of 'dart:math'</li>
<li><a
href="https://github.com/imaNNeo/fl_chart/commit/9fc2628e3600e585d5ed8cda469b03128ac5bbd1"><code>9fc2628</code></a>
Code formatting</li>
<li><a
href="https://github.com/imaNNeo/fl_chart/commit/39985b0f15c05ea90fa1813bbf06ff59f3556a77"><code>39985b0</code></a>
Adding change <a
href="https://redirect.github.com/imaNNeo/fl_chart/issues/906">#906</a>
change to CHANGELOG</li>
<li><a
href="https://github.com/imaNNeo/fl_chart/commit/ed1bdcb1b0a4f272994ebde2abe103359a8d527c"><code>ed1bdcb</code></a>
Adding unit test to check forwarding of minIncluded/maxIncluded via
sideTitles</li>
<li>Additional commits viewable in <a
href="https://github.com/imaNNeo/fl_chart/compare/0.68.0...0.69.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.68.0&new-version=0.69.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>
3 months ago
|
|
|
fl_chart: ^0.69.0
|
|
|
|
|
|
|
|
dev_dependencies:
|
|
|
|
flutter_test:
|
|
|
|
sdk: flutter
|
|
|
|
|
|
|
|
# The "flutter_lints" package below contains a set of recommended lints to
|
|
|
|
# encourage good coding practices. The lint set provided by the package is
|
|
|
|
# activated in the `analysis_options.yaml` file located at the root of your
|
|
|
|
# package. See that file for information about deactivating specific lint
|
|
|
|
# rules and activating additional ones.
|
|
|
|
flutter_lints: ^5.0.0
|
|
|
|
|
|
|
|
# For information on the generic Dart part of this file, see the
|
|
|
|
# following page: https://dart.dev/tools/pub/pubspec
|
|
|
|
|
|
|
|
# The following section is specific to Flutter packages.
|
|
|
|
flutter:
|
|
|
|
|
|
|
|
# The following line ensures that the Material Icons font is
|
|
|
|
# included with your application, so that you can use the icons in
|
|
|
|
# the material Icons class.
|
|
|
|
uses-material-design: true
|
|
|
|
|
|
|
|
# To add assets to your application, add an assets section, like this:
|
|
|
|
# assets:
|
|
|
|
# - images/a_dot_burr.jpeg
|
|
|
|
# - images/a_dot_ham.jpeg
|
|
|
|
|
|
|
|
# An image asset can refer to one or more resolution-specific "variants", see
|
|
|
|
# https://flutter.dev/assets-and-images/#resolution-aware
|
|
|
|
|
|
|
|
# For details regarding adding assets from package dependencies, see
|
|
|
|
# https://flutter.dev/assets-and-images/#from-packages
|
|
|
|
|
|
|
|
# To add custom fonts to your application, add a fonts section here,
|
|
|
|
# in this "flutter" section. Each entry in this list should have a
|
|
|
|
# "family" key with the font family name, and a "fonts" key with a
|
|
|
|
# list giving the asset and other descriptors for the font. For
|
|
|
|
# example:
|
|
|
|
# fonts:
|
|
|
|
# - family: Schyler
|
|
|
|
# fonts:
|
|
|
|
# - asset: fonts/Schyler-Regular.ttf
|
|
|
|
# - asset: fonts/Schyler-Italic.ttf
|
|
|
|
# style: italic
|
|
|
|
# - family: Trajan Pro
|
|
|
|
# fonts:
|
|
|
|
# - asset: fonts/TrajanPro.ttf
|
|
|
|
# - asset: fonts/TrajanPro_Bold.ttf
|
|
|
|
# weight: 700
|
|
|
|
#
|
|
|
|
# For details regarding fonts from package dependencies,
|
|
|
|
# see https://flutter.dev/custom-fonts/#from-packages
|