measure 0.0.1

  • Installing
  • Versions
  • 41


A library for working with measurements, quantities and units.

This library is based on the javax.measure package.



  • Initial version

Use this package as a library

1. Depend on it

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

  measure: "^0.0.1"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:

      import 'package:measure/measure.dart';
Version Uploaded Documentation Archive
0.0.1 Jan 16, 2017 Go to the documentation of measure 0.0.1 Download measure 0.0.1 archive


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

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
98 / 100
Reflects how tidy and up-to-date the package is. [more]
57 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: Flutter, web, other

No platform restriction found in primary library package:measure/measure.dart.


  • Package is getting outdated.

    The package was released 74 weeks ago.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 27 hints.

    Run dartfmt to format lib/measure.dart.

    Run dartfmt to format lib/src/converter.dart.

    Similar analysis of the following files failed:

    • lib/src/measure.dart (hint)
    • lib/src/quantity.dart (hint)
    • lib/src/unit/alternate_unit.dart (hint)
    • lib/src/unit/base_unit.dart (hint)
    • lib/src/unit/derived_unit.dart (hint)
    • lib/src/unit/dimension.dart (hint)
    • lib/src/unit/product_unit.dart (hint)
    • lib/src/unit/system_of_units.dart (hint)
    • lib/src/unit/transformed_unit.dart (hint)
    • lib/src/unit/unit.dart (hint)
    • lib/src/unit/util.dart (hint)
  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use measure.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.21.0 <2.0.0
quiver >=0.24.0 <1.0.0 0.29.0+1
Transitive dependencies
matcher 0.12.3
meta 1.1.5
path 1.6.1
stack_trace 1.9.2
Dev dependencies
unittest >=0.12.3 <0.13.0