universal_echarts 1.0.0+4 copy "universal_echarts: ^1.0.0+4" to clipboard
universal_echarts: ^1.0.0+4 copied to clipboard

A null-safe package that display beautiful charts on both Web and Mobile through Echarts SDK.

3
likes
70/ 140
pub points
0%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

partial
Provide documentation
10 / 20trigger folding of the section

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

0 out of 3 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: universal_echarts, universal_echarts.UniversalEcharts, universal_echarts.UniversalEcharts.drawChart.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:universal_echarts/universal_echarts.dart that imports:
  • package:universal_echarts/src/mobile.dart that imports:
  • package:flutter_echarts/flutter_echarts.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:universal_echarts/universal_echarts.dart that imports:
  • package:universal_echarts/src/mobile.dart that imports:
  • package:flutter_echarts/flutter_echarts.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:universal_echarts/universal_echarts.dart that imports:
  • package:universal_echarts/src/mobile.dart that imports:
  • package:flutter_echarts/flutter_echarts.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

ERROR: The argument type 'void Function()?' can't be assigned to the parameter type 'void Function(WebViewController)?'.

lib/src/mobile.dart:98:19

   ╷
98 │           onLoad: onLoad,
   │                   ^^^^^^
   ╵

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

ERROR: The name 'platformViewRegistry' is being referenced through the prefix 'ui', but it isn't defined in any of the libraries imported using that prefix.

lib/src/web.dart:140:8

    ╷
140 │     ui.platformViewRegistry.registerViewFactory('iframe-echart', (int viewId) {
    │        ^^^^^^^^^^^^^^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_echarts ^2.0.0 2.5.0 2.5.0
flutter_markdown ^0.6.1 0.6.9+1 0.7.1
html2md ^1.0.1 1.3.1 1.3.1
markdown ^4.0.0 4.0.1 7.2.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
characters - 1.3.0 1.3.0
charcode - 1.3.1 1.3.1
collection - 1.18.0 1.18.0
csslib - 1.0.0 1.0.0
html - 0.15.4 0.15.4
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
term_glyph - 1.2.1 1.2.1
vector_math - 2.1.4 2.1.4
webview_flutter - 4.7.0 4.7.0
webview_flutter_android - 3.16.0 3.16.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.13.0 3.13.0

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

The constraint `^0.6.1` on flutter_markdown does not support the stable version `0.7.0`, that was published 0 days ago.

When flutter_markdown is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions flutter_markdown to update the constraint.

The constraint `^4.0.0` on markdown does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions markdown to update the constraint.

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

3
likes
70
pub points
0%
popularity

Publisher

unverified uploader

A null-safe package that display beautiful charts on both Web and Mobile through Echarts SDK.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_echarts, flutter_markdown, html2md, markdown

More

Packages that depend on universal_echarts