cr_logger 2.4.2 copy "cr_logger: ^2.4.2" to clipboard
cr_logger: ^2.4.2 copied to clipboard

Powerful logging plugin. Supports android, ios and web platforms.

50
likes
140/ 160
pub points
78%
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

55 out of 210 API elements (26.2 %) have documentation comments.

Some symbols that are missing documentation: assets, assets.CRLoggerAssets.assetsArrowDown, assets.CRLoggerAssets.assetsContentCopy, assets.CRLoggerAssets.assetsIcBack, assets.CRLoggerAssets.assetsIcMenu.

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

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

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

Because:

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

Because:

  • package:cr_logger/cr_logger.dart that declares support for platforms: Android, iOS, 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:cr_logger/cr_logger.dart that imports:
  • package:cr_logger/src/widget/cr_inspector.dart that imports:
  • package:cr_logger/src/cr_logger_helper.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:cr_logger/cr_logger.dart that imports:
  • package:cr_logger/src/widget/cr_inspector.dart that imports:
  • package:cr_logger/src/cr_logger_helper.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:cr_logger/cr_logger.dart that imports:
  • package:cr_logger/src/managers/http_log_manager.dart that imports:
  • package:cr_logger/src/providers/sqflite_provider.dart that imports:
  • package:cr_logger/src/data/sqflite_db/log_module.dart that imports:
  • package:cr_logger/src/data/sqflite_db/sqflite_repository.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:cr_logger/cr_logger.dart that imports:
  • package:cr_logger/src/widget/cr_inspector.dart that imports:
  • package:cr_logger/src/cr_logger_helper.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/com/iwinhttprequest.dart that imports:
  • package:win32/src/com/iunknown.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/win32/user32.g.dart that imports:
  • package:win32/src/variant.dart that imports:
  • package:win32/src/win32/oleaut32.g.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/guid.dart that imports:
  • package:win32/src/win32/ole32.g.dart that imports:
  • package:win32/src/combase.dart that imports:
  • package:win32/src/macros.dart that imports:
  • package:win32/src/inline.dart that imports:
  • package:win32/src/win32/uxtheme.g.dart that imports:
  • package:win32/src/callbacks.dart that imports:
  • package:win32/src/types.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

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.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/cr_logger/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.

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

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

Found 3 issues. Showing the first 2:

INFO: 'MaterialStateProperty' is deprecated and shouldn't be used. Use WidgetStateProperty instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/src/widget/delete_log_confirm_widget.dart:79:40

   ╷
79 │                       backgroundColor: MaterialStateProperty.all(Colors.grey),
   │                                        ^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widget/delete_log_confirm_widget.dart

INFO: 'MaterialStateProperty' is deprecated and shouldn't be used. Use WidgetStateProperty instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.

lib/src/widget/delete_log_confirm_widget.dart:95:40

   ╷
95 │                       backgroundColor: MaterialStateProperty.all(Colors.red),
   │                                        ^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widget/delete_log_confirm_widget.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
app_settings ^5.1.1 5.1.1 5.1.1
chopper ^7.0.10 7.4.0 8.0.3
cr_json_widget ^1.1.1 1.1.1 1.1.1
dio ^5.4.0 5.7.0 5.7.0
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
http ^1.1.2 1.2.0 1.2.2
infinite_scroll_pagination ^4.0.0 4.1.0 4.1.0
inspector ^2.1.0 2.1.0 2.1.0
js ^0.6.7 0.6.7 0.7.1
logger ^2.0.2+1 2.5.0 2.5.0
package_info_plus ^5.0.1 5.0.1 8.1.1
path ^1.8.3 1.9.1 1.9.1
path_provider ^2.1.2 2.1.5 2.1.5
platform ^3.1.2 3.1.6 3.1.6
shared_preferences ^2.2.2 2.2.3 2.3.3
split_view ^3.2.1 3.2.1 3.2.1
sqflite ^2.3.0 2.4.1 2.4.1
synchronized ^3.1.0 3.3.0+3 3.3.0+3
uuid ^3.0.7 3.0.7 4.5.1
worker_manager ^6.3.1 6.3.2 7.2.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
dio_web_adapter - 1.0.1 2.0.0
equatable - 2.0.5 2.0.5
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_staggered_grid_view - 0.7.0 0.7.0
http_parser - 4.0.2 4.1.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_info_plus_platform_interface - 2.0.1 3.0.1
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
plugin_platform_interface - 2.1.8 2.1.8
qs_dart - 1.2.4 1.2.4
recursive_regex - 1.0.0 1.0.0
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.2.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
sliver_tools - 0.2.12 0.2.12
source_span - 1.10.0 1.10.0
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
weak_map - 3.0.1 4.0.0
web - 0.4.2 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 5 issues. Showing the first 2:

The constraint `^7.0.10` on chopper does not support the stable version `8.0.0`.

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

The constraint `^0.6.7` on js does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions js 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.4, Dart 3.5.4.

Check the analysis log for details.