thermion_flutter_web 0.2.0+10 thermion_flutter_web: ^0.2.0+10 copied to clipboard
A web platform interface for the thermion_flutter plugin.
We analyzed this package 12 days ago, and awarded it 60 pub points (of a possible 160):
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 60 to 180 characters to describe the package, what it does, and its target use case.
Repository URL doesn't exist.
At the time of the analysis https://github.com/nmfisher/thermion_flutter/thermion_flutter
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: Apache-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 18 API elements (11.1 %) 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.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: thermion_flutter_web
, thermion_flutter_web.ThermionFlutterWebPlugin
, thermion_flutter_web.ThermionFlutterWebPlugin.ThermionFlutterWebPlugin
, thermion_flutter_web.ThermionFlutterWebPlugin.createViewer
, thermion_flutter_web.ThermionFlutterWebPlugin.createViewerWithOptions
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Web
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:thermion_flutter_web/thermion_flutter_web.dart
that declares support for platforms:Web
.
Package does not support platform `iOS`.
Because:
package:thermion_flutter_web/thermion_flutter_web.dart
that declares support for platforms:Web
.
Package does not support platform `Windows`.
Because:
package:thermion_flutter_web/thermion_flutter_web.dart
that declares support for platforms:Web
.
Package does not support platform `Linux`.
Because:
package:thermion_flutter_web/thermion_flutter_web.dart
that declares support for platforms:Web
.
Package does not support platform `macOS`.
Because:
package:thermion_flutter_web/thermion_flutter_web.dart
that declares support for platforms:Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:thermion_flutter_web/thermion_flutter_web.dart
that imports:package:thermion_flutter_web/thermion_flutter_web_options.dart
that imports:package:thermion_flutter_platform_interface/thermion_flutter_platform_interface.dart
that imports:package:thermion_dart/thermion_dart.dart
that imports:package:thermion_dart/src/utils/utils.dart
that imports:package:thermion_dart/src/utils/src/axis.dart
that imports:package:thermion_dart/src/viewer/viewer.dart
that imports:package:thermion_dart/src/viewer/src/shared_types/shared_types.dart
that imports:package:thermion_dart/src/viewer/src/shared_types/material.dart
that imports:package:thermion_dart/src/viewer/src/ffi/src/callbacks.dart
that imports:package:thermion_dart/src/viewer/src/ffi/src/thermion_dart.g.dart
that imports:dart:ffi
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 18 issues. Showing the first 2:
ERROR: Missing concrete implementations of 'ThermionFlutterPlatform.createWindow' and 'ThermionFlutterPlatform.markTextureFrameAvailable'.
lib/thermion_flutter_web.dart:8:7
╷
8 │ class ThermionFlutterWebPlugin extends ThermionFlutterPlatform {
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/thermion_flutter_web.dart
ERROR: Undefined class 'ThermionViewerWasm'.
lib/thermion_flutter_web.dart:10:3
╷
10 │ ThermionViewerWasm? _viewer;
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/thermion_flutter_web.dart
10/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_web_plugins |
flutter |
0.0.0 | 0.0.0 |
plugin_platform_interface |
^2.1.0 |
2.1.8 | 2.1.8 |
thermion_dart |
^0.2.1-dev.19.0 |
0.2.1-dev.19.0 | 0.2.1-dev.19.0 |
thermion_flutter_platform_interface |
^0.2.1-dev.19.0 |
0.2.1-dev.19.0 | 0.2.1-dev.19.0 |
web |
^1.0.0 |
1.1.0 | 1.1.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
animation_tools_dart |
- | 0.1.2 | 0.1.2 |
archive |
- | 3.6.1 | 4.0.2 |
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
cli_config |
- | 0.2.0 | 0.2.0 |
collection |
- | 1.19.0 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
glob |
- | 2.1.2 | 2.1.2 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
logging |
- | 1.3.0 | 1.3.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
native_assets_cli |
- | 0.6.1 | 0.10.0 |
native_toolchain_c |
- | 0.4.2 | 0.7.0 |
path |
- | 1.9.1 | 1.9.1 |
pub_semver |
- | 2.1.5 | 2.1.5 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
string_scanner |
- | 1.4.1 | 1.4.1 |
term_glyph |
- | 1.2.2 | 1.2.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 18 errors:
NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER
-lib/thermion_flutter_web.dart:8:7
- Missing concrete implementations of 'ThermionFlutterPlatform.createWindow' and 'ThermionFlutterPlatform.markTextureFrameAvailable'.UNDEFINED_CLASS
-lib/thermion_flutter_web.dart:10:3
- Undefined class 'ThermionViewerWasm'.INVALID_OVERRIDE
-lib/thermion_flutter_web.dart:17:35
- 'ThermionFlutterWebPlugin.createTexture' ('Future<ThermionFlutterTexture?> Function(double, double, double, double, double)') isn't a valid override of 'ThermionFlutterPlatform.createTexture' ('Future<ThermionFlutterTexture?> Function(View, int, int)').
Run flutter pub downgrade
and then flutter analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.