cr_logger 0.9.19
cr_logger: ^0.9.19 copied to clipboard
Powerful logging plugin. Supports android, ios and web platforms.
We analyzed this package 9 days ago, and awarded it 80 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
57 out of 222 API elements (25.7 %) 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
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.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `Linux`.
Because:
package:cr_logger/cr_logger.dartthat declares support for platforms:Android,iOS,Web.
Package does not support platform `macOS`.
Because:
package:cr_logger/cr_logger.dartthat 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.dartthat imports:package:cr_logger/src/utils/http_log_manager.dartthat imports:package:cr_logger/src/utils/pretty_cr_logger.dartthat imports:package:cr_logger/src/cr_logger.dartthat imports:package:cr_logger/src/utils/local_log_managed.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 29 issues. Showing the first 2:
ERROR: The argument type 'CardThemeData' can't be assigned to the parameter type 'CardTheme'.
lib/src/cr_logger.dart:189:42
╷
189 │ theme.copyWithDefaultCardTheme(loggerTheme.cardTheme);
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/cr_logger.dart
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
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
app_settings |
^4.1.5 |
4.3.1 | 7.0.0 | |
chopper |
^4.0.5 |
4.0.6 | 8.5.0 | |
cr_json_widget |
^0.9.0 |
0.9.0 | 1.1.1 | |
dio |
^4.0.6 |
4.0.6 | 5.9.0 | |
http |
^0.13.4 |
0.13.6 | 1.6.0 | |
inspector |
^1.1.1 |
1.1.4 | 3.1.0 | |
js |
^0.6.3 |
0.6.7 | 0.7.2 | Discontinued |
logger |
^1.1.0 |
1.4.0 | 2.6.2 | |
package_info_plus |
^1.4.2 |
1.4.3+1 | 9.0.0 | |
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.4.0 | 3.4.0 | |
uuid |
^3.0.6 |
3.0.7 | 4.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
package_info_plus_linux |
- | 1.0.5 | 2.0.0 | Discontinued |
package_info_plus_macos |
- | 1.3.0 | 2.0.0 | Discontinued |
package_info_plus_platform_interface |
- | 1.0.2 | 3.2.1 | |
package_info_plus_web |
- | 1.0.6 | 2.0.0 | Discontinued |
package_info_plus_windows |
- | 2.1.0 | 3.0.0 | Discontinued |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.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 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
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.2.0 | 2.2.0 | |
win32 |
- | 3.1.4 | 5.15.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 11 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 9 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/cr_logger.dart:189:42- The argument type 'CardThemeData' can't be assigned to the parameter type 'CardTheme'.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.
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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.