color_logging 0.0.29
color_logging: ^0.0.29 copied to clipboard
A color logging package for flutter depend on logging package.
We analyzed this package 2 days ago, and awarded it 135 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.29").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
7 out of 31 API elements (22.6 %) have documentation comments.
Some symbols that are missing documentation: color_logging
, color_logging.AnsiColor
, color_logging.AnsiColor.AnsiColor.bg
, color_logging.AnsiColor.AnsiColor.fg
, color_logging.AnsiColor.AnsiColor.none
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:color_logging/color_logging.dart
that imports:package:color_logging/src/ansi_color.dart
that imports:package:color_logging/src/color_logger.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:color_logging/color_logging.dart
that imports:package:color_logging/src/ansi_color.dart
that imports:package:color_logging/src/color_logger.dart
that imports:dart:io
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
WARNING: The value of the field '_startTime' isn't used.
lib/src/color_logger.dart:124:17
╷
124 │ late DateTime _startTime;
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/color_logger.dart
INFO: Missing type annotation.
lib/src/ansi_color.dart:14:10
╷
14 │ static showColor({int start = 0, int end = 255}) {
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ansi_color.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
logging |
^1.2.0 |
1.3.0 | 1.3.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
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.23
, Dart 3.9.3
.
Check the analysis log for details.