flutter_cgm 0.0.4 copy "flutter_cgm: ^0.0.4" to clipboard
flutter_cgm: ^0.0.4 copied to clipboard

Library for displaying CGM files in Flutter

70/ 160
pub points
42
downloads

We analyzed this package 5 days ago, and awarded it 70 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
10 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

54 out of 87 API elements (62.1 %) have documentation comments.

Some symbols that are missing documentation: flutter_cgm.CGM.colorIndexPrecision, flutter_cgm.CGM.colorModel, flutter_cgm.CGM.colorPrecision, flutter_cgm.CGM.colorSelectionMode, flutter_cgm.CGM.deviceViewportSpecificationMode.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

ERROR: The function 'CGMDisplay' isn't defined.

lib/src/cgm_widget.dart:22:22

   ╷
22 │   final cgmDisplay = CGMDisplay(cgm);
   │                      ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/cgm_widget.dart

ERROR: The method 'CGMDisplay' isn't defined for the type 'RenderCGM'.

lib/src/render_cgm.dart:239:26

    ╷
239 │       final cgmDisplay = CGMDisplay(cgm);
    │                          ^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/render_cgm.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
cgm ^0.0.3 0.0.4 0.0.4
vector_math ^2.1.4 2.2.0 2.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
buffer - 1.2.3 1.2.3
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
equatable - 2.0.8 2.0.8
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Flutter 3.41.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
70
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

Library for displaying CGM files in Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

cgm, flutter, vector_math

More

Packages that depend on flutter_cgm