You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
samples/experimental/pedometer/example/pubspec.yaml

102 lines
4.2 KiB

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.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: ../
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
ffi: ^2.0.1
intl: ^0.18.0
jni: ^0.3.0
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="https://github.com/imaNNeo/fl_chart/commit/e55632ffdda94439aeee948c8d3155121a899132"><code>e55632f</code></a> Bump version to 0.62.0</li> <li><a href="https://github.com/imaNNeo/fl_chart/commit/1e763ba9ef00397d9fe6c5eeef8ae1c97725b34e"><code>1e763ba</code></a> Set path strategy as a default strategy in web</li> <li><a href="https://github.com/imaNNeo/fl_chart/commit/04a9a0588f54181cc79021d1ececf4aae0165dfa"><code>04a9a05</code></a> Remove temp Iran banner and message</li> <li><a href="https://github.com/imaNNeo/fl_chart/commit/278d4c854b595cf96539e87b25ba6a96af64c2ae"><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="https://github.com/imaNNeo/fl_chart/commit/30f3b17dac137b86d56e7548fb2a863d898dbbd9"><code>30f3b17</code></a> change dividing by zero condition</li> <li><a href="https://github.com/imaNNeo/fl_chart/commit/b898bd43d64e14d522150151f51a6d93404dddae"><code>b898bd4</code></a> update changelog</li> <li><a href="https://github.com/imaNNeo/fl_chart/commit/c35539284fce4fcdadc5ad23872e95226d8760d8"><code>c355392</code></a> fix radar chart tick point not scaling</li> <li><a href="https://github.com/imaNNeo/fl_chart/commit/e99695494d200169e7c57f241db690dfd172fba3"><code>e996954</code></a> doc: update Change log and doc-ing strokeCap for VerticalLine/HorizontalLine</li> <li><a href="https://github.com/imaNNeo/fl_chart/commit/2457e70641ae5b79689ff3f5bf002ad79376be93"><code>2457e70</code></a> refactor: fix tests</li> <li><a href="https://github.com/imaNNeo/fl_chart/commit/66eaeea81fd085c5e0d47abfb1a0adf6687999a8"><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>
2 years ago
fl_chart: ^0.62.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: ^2.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