sni_model_viewer 0.0.1
sni_model_viewer: ^0.0.1 copied to clipboard
A project for model viewer use Dio Package.
We analyzed this package 7 days ago, and awarded it 90 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 50 to 180 characters to describe the package, what it does, and its target use case.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT:
Documenting sni_model_viewer...
Discovering libraries...
Linking elements...
Precaching local docs for 658290 elements...
Initialized dartdoc with 985 libraries
Generating docs for library sni_model_viewer.dart from package:sni_model_viewer/sni_model_viewer.dart...
Generating docs for library stub/model_viewer_plus_stub.dart from package:sni_model_viewer/stub/model_viewer_plus_stub.dart...
Generating docs for library stub/model_viewer_plus_web.dart from package:sni_model_viewer/stub/model_viewer_plus_web.dart...
Generating docs for library stub/model_viewer_plus_mobile.dart from package:sni_model_viewer/stub/model_viewer_plus_mobile.dart...
Generating docs for library sni_model_viewer_library.dart from package:sni_model_viewer/sni_model_viewer_library.dart...
[1 more lines]
ERR:
warning: sni_model_viewer has no library level documentation comments
from sni_model_viewer: (file:///tmp/pana_EJLPEO/lib/sni_model_viewer_library.dart:1:1)
error: file already written at "sni_model_viewer/index.html"
for symbol sni_model_viewer: (file:///tmp/pana_EJLPEO/lib/sni_model_viewer_library.dart:1:1)
conflicting with file already generated by sni_model_viewer: (file:///tmp/pana_EJLPEO/lib/sni_model_viewer.dart:1:1)
Dartdoc generates a path and filename to write to for each symbol.
'sni_model_viewer' conflicts with another symbol in the generated path,
and therefore can not be written out. Changing the name, library name,
or class name (if appropriate) of one of the conflicting items can
resolve the conflict. Alternatively, use the @nodoc
directive in one
[22 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:sni_model_viewer/sni_model_viewer.dart
that imports:package:sni_model_viewer/sni_model_viewer_library.dart
that imports:package:sni_model_viewer/stub/model_viewer_plus_mobile.dart
that imports:package:webview_flutter/webview_flutter.dart
that imports:package:webview_flutter/src/webview.dart
that imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart
that declares support for platforms:iOS
.
Package does not support platform `iOS`.
Because:
package:sni_model_viewer/sni_model_viewer.dart
that imports:package:sni_model_viewer/sni_model_viewer_library.dart
that imports:package:sni_model_viewer/stub/model_viewer_plus_mobile.dart
that imports:package:webview_flutter/webview_flutter.dart
that imports:package:webview_flutter/src/webview.dart
that imports:package:webview_flutter_android/webview_surface_android.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:sni_model_viewer/sni_model_viewer.dart
that imports:package:sni_model_viewer/sni_model_viewer_library.dart
that imports:package:sni_model_viewer/stub/model_viewer_plus_mobile.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:sni_model_viewer/sni_model_viewer.dart
that imports:package:sni_model_viewer/sni_model_viewer_library.dart
that imports:package:sni_model_viewer/stub/model_viewer_plus_mobile.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:sni_model_viewer/sni_model_viewer.dart
that imports:package:sni_model_viewer/sni_model_viewer_library.dart
that imports:package:sni_model_viewer/stub/model_viewer_plus_mobile.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:sni_model_viewer/sni_model_viewer.dart
that imports:package:sni_model_viewer/sni_model_viewer_library.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:sni_model_viewer/sni_model_viewer.dart
that imports:package:sni_model_viewer/sni_model_viewer_library.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 37 issues. Showing the first 2:
INFO: The part-of directive uses a library name.
lib/src/html_builder.dart:1:1
╷
1 │ part of sni_model_viewer;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/html_builder.dart
INFO: 'red' is deprecated and shouldn't be used. Use (*.r * 255.0).round() & 0xff.
lib/src/html_builder.dart:379:49
╷
379 │ 'background-color: rgba(${backgroundColor.red}, ${backgroundColor.green}, ${backgroundColor.blue}, ${backgroundColor.alpha}); ',
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/html_builder.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
android_intent_plus |
^3.1.5 |
3.1.9 | 5.3.0 | |
arkit_plugin |
^1.0.5 |
1.1.2 | 1.1.2 | |
dio |
^4.0.6 |
4.0.6 | 5.8.0+1 | |
path |
^1.8.2 |
1.9.1 | 1.9.1 | |
path_provider |
^2.0.11 |
2.1.5 | 2.1.5 | |
url_launcher |
^6.1.7 |
6.3.1 | 6.3.1 | |
vector_math |
^2.1.2 |
2.1.4 | 2.2.0 | |
webview_flutter |
^3.0.4 |
3.0.4 | 4.13.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^3.1.5` on android_intent_plus does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions android_intent_plus
to update the constraint.
The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.21
, Flutter 3.32.1
, Dart 3.8.1
.
Check the analysis log for details.