console 4.0.0 console: ^4.0.0 copied to clipboard
A library for common features required by console applications, including color formatting, keyboard input, and progress bars.
We analyzed this package 5 days ago, and awarded it 70 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
42 out of 320 API elements (13.1 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
Some symbols that are missing documentation: console
, console.BufferConsoleAdapter
, console.BufferConsoleAdapter.BufferConsoleAdapter
, console.BufferConsoleAdapter.buffer
, console.BufferConsoleAdapter.byteStream
.
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:console/console.dart
that imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 101 issues. Showing the first 2:
ERROR: The non-nullable variable '_table' must be initialized.
lib/clut.dart:262:18
╷
262 │ Map<int, String> _table;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/clut.dart
ERROR: A value of type 'String?' can't be returned from the function 'getColor' because it has a return type of 'String'.
lib/clut.dart:274:31
╷
274 │ String getColor(int color) => getColorLookupTable()[color];
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/clut.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
vector_math |
^2.0.7 |
2.1.4 | 2.1.4 |
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
Analyzed with Pana 0.22.3
, Dart 3.3.4
.
Check the analysis log for details.