cr_logger 2.4.2 cr_logger: ^2.4.2 copied to clipboard
Powerful logging plugin. Supports android, ios and web platforms.
We analyzed this package 3 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
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
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
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.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
ERROR: The argument type 'CardThemeData' can't be assigned to the parameter type 'CardTheme'.
lib/src/cr_logger.dart:155:42
╷
155 │ theme.copyWithDefaultCardTheme(loggerTheme.cardTheme);
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/cr_logger.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/base/base_page_with_progress.dart:31:52
╷
31 │ color: CRLoggerColors.backgroundGrey.withOpacity(0.8),
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/base/base_page_with_progress.dart
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.2 |
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.4 |
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.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
dio_web_adapter |
- | 1.0.1 | 2.0.0 |
equatable |
- | 2.0.7 | 2.0.7 |
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.1.1 | 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.2 |
path_provider_android |
- | 2.2.15 | 2.2.15 |
path_provider_foundation |
- | 2.4.1 | 2.4.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 |
qs_dart |
- | 1.3.0 | 1.3.0 |
recursive_regex |
- | 1.0.0 | 1.0.0 |
shared_preferences_android |
- | 2.4.0 | 2.4.0 |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 |
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.0 | 0.0.0 |
sliver_tools |
- | 0.2.12 | 0.2.12 |
source_span |
- | 1.10.1 | 1.10.1 |
sqflite_android |
- | 2.4.0 | 2.4.0 |
sqflite_common |
- | 2.5.4+6 | 2.5.4+6 |
sqflite_darwin |
- | 2.4.1 | 2.4.1 |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 |
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.1.4 | 2.1.4 |
weak_map |
- | 4.0.0 | 4.0.0 |
web |
- | 0.4.2 | 1.1.0 |
win32 |
- | 5.9.0 | 5.9.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
ARGUMENT_TYPE_NOT_ASSIGNABLE
-lib/src/cr_logger.dart:155:42
- The argument type 'CardThemeData' can't be assigned to the parameter type 'CardTheme'.
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.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.