sfit_step_counter 0.0.14
sfit_step_counter: ^0.0.14 copied to clipboard
Step Counter is a lightweight Flutter package that detects steps in real-time using the accelerometer via sensors_plus.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add sfit_step_counterWith Flutter:
$ flutter pub add sfit_step_counterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
sfit_step_counter: ^0.0.14Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:sfit_step_counter/step_counter.dart';