dragon_logs 1.0.4 copy "dragon_logs: ^1.0.4" to clipboard
dragon_logs: ^1.0.4 copied to clipboard

An efficient cross-platform Flutter log storage framework with minimal dependencies.

3
likes
140/ 160
pub points
63%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

11 out of 12 API elements (91.7 %) have documentation comments.

Some symbols that are missing documentation: dragon_logs.DragonLogs.sessionMetadata.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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:dragon_logs/dragon_logs.dart that imports:
  • package:dragon_logs/src/dragon_logs_base.dart that imports:
  • package:dragon_logs/src/logger/persisted_logger.dart that imports:
  • package:dragon_logs/src/storage/log_storage.dart that imports:
  • package:dragon_logs/src/storage/platform_instance/log_storage_native_platform.dart that imports:
  • package:dragon_logs/src/storage/file_log_storage.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:dragon_logs/dragon_logs.dart that imports:
  • package:dragon_logs/src/dragon_logs_base.dart that imports:
  • package:dragon_logs/src/logger/persisted_logger.dart that imports:
  • package:dragon_logs/src/storage/log_storage.dart that imports:
  • package:dragon_logs/src/storage/platform_instance/log_storage_native_platform.dart that imports:
  • package:dragon_logs/src/storage/file_log_storage.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:dragon_logs/dragon_logs.dart that imports:
  • package:dragon_logs/src/dragon_logs_base.dart that imports:
  • package:dragon_logs/src/logger/persisted_logger.dart that imports:
  • package:dragon_logs/src/storage/log_storage.dart that imports:
  • package:dragon_logs/src/storage/platform_instance/log_storage_native_platform.dart that imports:
  • package:dragon_logs/src/storage/file_log_storage.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_linux.dart that imports:
  • package:url_launcher_linux/url_launcher_linux.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:dragon_logs/dragon_logs.dart that imports:
  • package:dragon_logs/src/dragon_logs_base.dart that imports:
  • package:dragon_logs/src/logger/persisted_logger.dart that imports:
  • package:dragon_logs/src/storage/log_storage.dart that imports:
  • package:dragon_logs/src/storage/platform_instance/log_storage_native_platform.dart that imports:
  • package:dragon_logs/src/storage/file_log_storage.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:dragon_logs/dragon_logs.dart that imports:
  • package:dragon_logs/src/dragon_logs_base.dart that imports:
  • package:dragon_logs/src/logger/persisted_logger.dart that imports:
  • package:dragon_logs/src/storage/log_storage.dart that imports:
  • package:dragon_logs/src/storage/platform_instance/log_storage_native_platform.dart that imports:
  • package:dragon_logs/src/storage/file_log_storage.dart that imports:
  • package:share_plus/share_plus.dart that imports:
  • package:share_plus/src/share_plus_windows.dart that imports:
  • package:url_launcher_windows/url_launcher_windows.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dragon_logs/dragon_logs.dart that imports:
  • package:dragon_logs/src/dragon_logs_base.dart that imports:
  • package:dragon_logs/src/logger/persisted_logger.dart that imports:
  • package:dragon_logs/src/storage/log_storage.dart that imports:
  • package:dragon_logs/src/storage/platform_instance/log_storage_web_platform.dart that imports:
  • package:dragon_logs/src/storage/web_log_storage.dart that imports:
  • package:js/js_util.dart that imports:
  • dart:js_util

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.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

/tmp/pana_NTBSDC/lib/src/maintenance/log_maintenance.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_NTBSDC/lib/src/storage/worker/web_log_storage_worker.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
file_system_access_api ^1.1.0 1.1.0 2.0.0
flutter flutter 0.0.0 0.0.0
flutter_localizations flutter 0.0.0 0.0.0
intl ^0.19.0 0.19.0 0.20.0
js ^0.6.7 0.6.7 0.7.1
path ^1.8.3 1.9.0 1.9.1
path_provider ^2.1.1 2.1.5 2.1.5
share_plus ^7.0.2 7.2.2 10.1.2
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
clock - 1.1.1 1.1.2
collection - 1.18.0 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 1.0.6 2.0.0
path_provider_android - 2.2.12 2.2.12
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
share_plus_platform_interface - 3.4.0 5.0.1
sky_engine - 0.0.99 0.0.99
sprintf - 7.0.0 7.0.0
typed_data - 1.4.0 1.4.0
url_launcher_linux - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
win32 - 5.8.0 5.8.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 4 issues. Showing the first 2:

The constraint `^1.1.0` on file_system_access_api does not support the stable version `2.0.0`.

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

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`, that was published 8 days ago.

When intl is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions intl 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.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

3
likes
140
pub points
63%
popularity

Publisher

unverified uploader

An efficient cross-platform Flutter log storage framework with minimal dependencies.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

file_system_access_api, flutter, flutter_localizations, intl, js, path, path_provider, share_plus

More

Packages that depend on dragon_logs