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

outdated

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

50
likes
80/ 160
pub points
78%
popularity

We analyzed this package 3 days ago, and awarded it 80 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

57 out of 220 API elements (25.9 %) have documentation comments.

Some symbols that are missing documentation: assets, assets.Assets.assetsArrowDown, assets.Assets.assetsContentCopy, assets.Assets.assetsIcBack, assets.Assets.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 `Web`.

Because:

  • package:cr_logger/cr_logger.dart that imports:
  • package:cr_logger/src/utils/http_log_manager.dart that imports:
  • package:cr_logger/src/utils/pretty_cr_logger.dart that imports:
  • package:cr_logger/src/cr_logger.dart that imports:
  • package:cr_logger/src/utils/local_log_managed.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 10 issues. Showing the first 2:

ERROR: The named parameter 'primary' isn't defined.

lib/src/page/actions_page.dart:73:23

   ╷
73 │                       primary: Colors.white,
   │                       ^^^^^^^
   ╵

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

ERROR: The named parameter 'primary' isn't defined.

lib/src/page/log_main/widgets/mobile_header_widget.dart:40:17

   ╷
40 │                 primary: CRLoggerColors.red,
   │                 ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/page/log_main/widgets/mobile_header_widget.dart

failed
Support up-to-date dependencies
10 / 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 ^4.1.5 4.3.1 5.1.1
chopper ^4.0.5 4.0.6 8.0.3
cr_json_widget ^0.9.0 0.9.0 1.1.1
dio ^4.0.6 4.0.6 5.7.0
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
http ^0.13.4 0.13.6 1.2.2
inspector ^1.1.1 1.1.4 2.1.0
js ^0.6.3 0.6.7 0.7.1
logger ^1.1.0 1.4.0 2.5.0
package_info_plus ^1.4.2 1.4.3+1 8.1.1
path_provider ^2.0.5 2.1.5 2.1.5
platform ^3.1.0 3.1.6 3.1.6
split_view ^3.1.0 3.2.1 3.2.1
synchronized ^3.0.0 3.3.0+3 3.3.0+3
uuid ^3.0.6 3.0.7 4.5.1
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
ffi - 2.1.3 2.1.3
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_linux - 1.0.5 2.0.0
package_info_plus_macos - 1.3.0 2.0.0
package_info_plus_platform_interface - 1.0.2 3.0.1
package_info_plus_web - 1.0.6 2.0.0
package_info_plus_windows - 2.1.0 3.0.0
path - 1.9.1 1.9.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
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.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
win32 - 3.1.4 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 10 issues. Showing the first 2:

The constraint `^4.1.5` on app_settings does not support the stable version `5.0.0`.

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

The constraint `^4.0.5` on chopper does not support the stable version `5.0.0`.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 5 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/src/page/actions_page.dart:73:23 - The named parameter 'primary' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/page/log_main/widgets/mobile_header_widget.dart:40:17 - The named parameter 'primary' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/page/log_main/widgets/web_header_widget.dart:40:17 - The named parameter 'primary' isn't defined.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.