Common componnets for charting libraries.
Add this to your package's pubspec.yaml file:
dependencies: charts_common: ^0.4.0
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.4.0||Aug 6, 2018|
|0.3.0||May 10, 2018|
|0.2.0||Apr 16, 2018|
|0.0.1||Mar 23, 2018|
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]
We analyzed this package on Aug 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter, web, other
No platform restriction found in libraries.
lib/src/common/math.dart failed with 3 errors:
line 17 col 8: Target of URI doesn't exist: 'package:vector_math/vector_math.dart'.
line 55 col 8: Couldn't infer type parameter 'T'.\n\nTried to infer 'dynamic' for 'T' which doesn't work:\n Type parameter 'T' declared to extend 'num'.\nThe type 'dynamic' was inferred from:\n Parameter 'a' declared as 'T'\n but argument is 'double'.\n Parameter 'b' declared as 'T'\n but argument is 'dynamic'.\n\nConsider passing explicit type argument(s) to the generic.\n\n
line 55 col 17: Couldn't infer type parameter 'T'.\n\nTried to infer 'dynamic' for 'T' which doesn't work:\n Type parameter 'T' declared to extend 'num'.\nThe type 'dynamic' was inferred from:\n Parameter 'a' declared as 'T'\n but argument is 'double'.\n Parameter 'b' declared as 'T'\n but argument is 'dynamic'.\n\nConsider passing explicit type argument(s) to the generic.\n\n
lib/src/chart/scatter_plot/point_renderer.dart failed with 1 error:
line 20 col 8: Target of URI doesn't exist: 'package:vector_math/vector_math.dart'.
Use constrained dependencies.
pubspec.yaml contains 1 dependency without version constraints. Specify version ranges for the following dependencies:
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
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 of the API.
Maintain an example.
Create a short demo in the
example/ directory to show how to use this package. Common file name patterns include:
example.dart or you could also use
Fix additional 5 files with analysis or formatting issues.
Additional issues in the following files: