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

0
likes
115/ 160
pub points
50%
popularity

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

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

0/10 points: Provide a valid pubspec.yaml

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

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

5/5 points: Provide a valid README.md

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.

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

23 out of 102 API elements (22.5 %) have documentation comments.

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

10/10 points: Package has an example

failed
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

  • ✓ 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.

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
Pass static analysis
30 / 50trigger folding of the section

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
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
connectivity_plus ^4.0.1 4.0.2 6.0.5
dio ^5.2.1+1 5.7.0 5.7.0
flutter flutter 0.0.0 0.0.0
freezed ^2.3.5 2.5.7 2.5.7
freezed_annotation ^2.2.0 2.4.4 2.4.4
logger ^1.4.0 1.4.0 2.4.0
path ^1.6.3 1.9.0 1.9.0
path_provider ^2.0.15 2.1.4 2.1.4
permission_handler ^10.4.1 10.4.5 11.3.1
plugin_platform_interface ^2.1.4 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 72.0.0 74.0.0
_macros - 0.3.2 0.3.2
analyzer - 6.7.0 6.9.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
build - 2.4.1 2.4.1
build_config - 1.1.1 1.1.1
characters - 1.3.0 1.3.0
checked_yaml - 2.0.3 2.0.3
collection - 1.18.0 1.19.0
connectivity_plus_platform_interface - 1.2.4 2.0.1
convert - 3.1.1 3.1.1
crypto - 3.0.5 3.0.5
dart_style - 2.3.7 2.3.7
dbus - 0.7.10 0.7.10
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
http_parser - 4.0.2 4.1.0
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.2.0 1.2.0
macros - 0.1.2-main.4 0.1.3-main.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.15.0
nm - 0.5.0 0.5.0
package_config - 2.1.0 2.1.0
path_provider_android - 2.2.10 2.2.10
path_provider_foundation - 2.4.0 2.4.0
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 12.0.12
permission_handler_apple - 9.1.4 9.4.5
permission_handler_platform_interface - 3.12.0 4.2.3
permission_handler_windows - 0.1.3 0.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.5 3.1.5
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.3.0 1.3.0
sky_engine - 0.0.99 0.0.99
source_gen - 1.5.0 1.5.0
source_span - 1.10.0 1.10.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 1.0.0 1.0.0
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0
yaml - 3.1.2 3.1.2

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

Found 3 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 `^1.4.0` on logger does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions logger 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.12, Flutter 3.24.2, Dart 3.5.2.

Check the analysis log for details.

0
likes
115
pub points
50%
popularity

Publisher

verified publisheritbug.shop

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