speedometer 1.0.7

  • Readme
  • Changelog
  • Example
  • Installing
  • 84

SpeedOMeter #

A little widget that given an Observable gives you an updated SpeedOMeter.

Getting Started #

You should ensure that you add the following dependency in your Flutter project.

 speedometer: "^1.0.1"

You should then run flutter packages upgrade or update your packages in IntelliJ.

In your Dart code, to use it:

import 'package:speedometer/speedometer.dart';

Example #

An example can be found in the example folder. Check it out.

[0.0.1] - TODO: Add release date.

  • TODO: Describe initial release.


example #

A SpeedOMeter example for flutter

Getting Started #

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

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

  speedometer: ^1.0.7

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support 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:speedometer/speedometer.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 Dec 9, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.6

Health suggestions

Fix lib/speedometer.dart. (-0.50 points)

Analysis of lib/speedometer.dart reported 1 hint:

line 11 col 7: This class (or a class which this class inherits from) is marked as '@immutable', but one or more of its instance fields are not final: SpeedOMeter.start, SpeedOMeter.end, SpeedOMeter.highlightStart, SpeedOMeter.highlightEnd, SpeedOMeter.themeData, SpeedOMeter.eventObservable

Format lib/handpainter.dart.

Run flutter format to format lib/handpainter.dart.

Format lib/linepainter.dart.

Run flutter format to format lib/linepainter.dart.

Format lib/speedtextpainter.dart.

Run flutter format to format lib/speedtextpainter.dart.

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (rxdart).

Package is getting outdated. (-1.10 points)

The package was last published 52 weeks ago.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
rxdart ^0.18.1 0.18.1 0.22.6
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.7 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies