sni_model_viewer 0.0.1 copy "sni_model_viewer: ^0.0.1" to clipboard
sni_model_viewer: ^0.0.1 copied to clipboard

A project for model viewer use Dio Package.

0
likes
90/ 160
pub points
34
downloads

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

Failed report section
Follow Dart file conventions
20 / 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

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Failed check 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]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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)

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.

Failed check 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

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

Failed check 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
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
http_parser - 4.1.2 4.1.2
json_annotation - 4.9.0 4.9.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
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
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
web - 1.1.1 1.1.1
webview_flutter_android - 2.10.4 4.7.0
webview_flutter_platform_interface - 1.9.5 2.13.1
webview_flutter_wkwebview - 2.9.5 3.22.0
xdg_directories - 1.1.0 1.1.0

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.

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.22.21, Flutter 3.32.1, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: