fit_parser 0.1.6

  • Readme
  • Changelog
  • Installing
  • new63

A .fit file format parsing library. fit stands for Flexible and Interoperable Data Transfer. It is a file format for tracking sports activities and is heavily influenced and used by Garmin Fitness Trackers, but also by a lot of other brands.

The library is licensed under the AGPLv3.

Usage #

A simple usage example:

import 'package:fit_parser/fit_parser.dart';

## The actual API is still under development

Features and bugs #

First goal is to read and parse .fit-Files from Garmin Forerunner 235 running watches.

Please file bugs at the Github Repo.

Changelog #

0.1.6 (2020-01-15) #

  • fail-safe to null for dataMessage.get()

0.1.5 (2020-01-15) #

  • get and any methods for easier access to values for dataMessage.
  • Typo in session_fields fixed.

0.1.4 (2020-01-13) #

  • Exposing dataMessage via api.

0.1.2, 0.1.3 (2020-01-08) #

  • Make debug output range optional Parameters
  • Only expose FitFile() and parse() for a start.
  • Code formatting

## 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.1.0, 0.1.1 (2020-01-07) #

  • Fixed all maintenance suggestions.
  • Fixed all health issues.
  • Dart formatting

0.0.1 (2020-01-07) #

  • Initial version, to check, if importing is possible, at all.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  fit_parser: ^0.1.6

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:fit_parser/fit_parser.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jan 19, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4

Health issues and suggestions

Document public APIs. (-1 points)

58 out of 58 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Maintenance suggestions

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and fit_parser.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
Dev dependencies
pedantic ^1.0.0
test ^1.0.0