console 4.0.0 copy "console: ^4.0.0" to clipboard
console: ^4.0.0 copied to clipboard

outdated

A library for common features required by console applications, including color formatting, keyboard input, and progress bars.

66
likes
70/ 140
pub points
89%
popularity

We analyzed this package 5 days ago, and awarded it 70 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 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

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

OK
Platform support
20 / 20trigger folding of the section

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
failed
Pass static analysis
0 / 50trigger folding of the section

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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.

66
likes
70
pub points
89%
popularity

Publisher

unverified uploader

A library for common features required by console applications, including color formatting, keyboard input, and progress bars.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

vector_math

More

Packages that depend on console