dd_viewer 0.0.6 copy "dd_viewer: ^0.0.6" to clipboard
dd_viewer: ^0.0.6 copied to clipboard

A universal preview device for PDF, Word, Excel, text, png, and jpg

4
likes
115/ 160
pub points
67
downloads

We analyzed this package 17 hours ago, and awarded it 115 pub points (of a possible 160):

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

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

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

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

Detected license: BSD-3-Clause.

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

23 out of 104 API elements (22.1 %) have documentation comments.

Some symbols that are missing documentation: dd_viewer, dd_viewer.AndroidImageView, dd_viewer.AndroidImageView.AndroidImageView.new, dd_viewer.AndroidImageView.fileX, dd_viewer.AndroidSupportView.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:dd_viewer/dd_viewer.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:dd_viewer/dd_viewer.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:dd_viewer/dd_viewer.dart that declares support for platforms: Android, iOS, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:dd_viewer/dd_viewer.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:dd_viewer/dd_viewer.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:dd_viewer/dd_viewer.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS, Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dd_viewer/dd_viewer.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.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/dd_viewer/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

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

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

Found 22 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/model/filex.freezed.dart:154:17

    ╷
154 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/model/filex.freezed.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/model/filex.freezed.dart:308:17

    ╷
308 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/model/filex.freezed.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
connectivity_plus ^4.0.1 4.0.2 6.1.3
dio ^5.2.1+1 5.8.0+1 5.8.0+1
freezed ^2.3.5 2.5.8 3.0.6
freezed_annotation ^2.2.0 2.4.4 3.0.0
logger ^1.4.0 1.4.0 2.5.0
path ^1.6.3 1.9.1 1.9.1
path_provider ^2.0.15 2.1.5 2.1.5
permission_handler ^10.4.1 10.4.5 12.0.0+1
plugin_platform_interface ^2.1.4 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 82.0.0 82.0.0
analyzer - 7.4.2 7.4.2
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
build - 2.4.2 2.4.2
build_config - 1.1.2 1.1.2
characters - 1.4.0 1.4.0
checked_yaml - 2.0.3 2.0.3
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 1.2.4 2.0.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 3.0.1 3.0.1
dbus - 0.7.11 0.7.11
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
nm - 0.5.0 0.5.0
package_config - 2.2.0 2.2.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
permission_handler_android - 10.3.6 13.0.1
permission_handler_apple - 9.1.4 9.4.7
permission_handler_platform_interface - 3.12.0 4.3.0
permission_handler_windows - 0.1.3 0.2.1
petitparser - 6.1.0 6.1.0
platform - 3.1.6 3.1.6
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
source_gen - 2.0.0 2.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.5
watcher - 1.1.1 1.1.1
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0
yaml - 3.1.3 3.1.3

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

Found 5 issues. Showing the first 2:

The constraint `^4.0.1` on connectivity_plus does not support the stable version `5.0.0`.

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

The constraint `^2.3.5` on freezed does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions freezed 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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
115
points
67
downloads

Publisher

verified publisheritbug.shop

Weekly Downloads

A universal preview device for PDF, Word, Excel, text, png, and jpg

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

connectivity_plus, dio, flutter, freezed, freezed_annotation, logger, path, path_provider, permission_handler, plugin_platform_interface

More

Packages that depend on dd_viewer