dstring_fmt 1.0.1
dstring_fmt: ^1.0.1 copied to clipboard

Small library of pre-formatted String outputs for various classes.

0
likes
80 / 130
pub points
6 %
popularity

We analyzed this package on Apr 29, 2021, and awarded it 80 pub points (of a possible 130):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://gitlab.com/Iron_E/dstring_fmt was unreachable.

Repository URL doesn't exist.

At the time of the analysis https://gitlab.com/Iron_E/dstring_fmt was unreachable.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

10/10 points: 20% or more of the public API has dartdoc comments

  • 5 out of 6 API elements (83.3 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/src/util/fmt/column.dart:11:43

   ╷
11 │       final List<List<String>> rowsToColumns = new List<List<String>>.of(
   │ ┌──────────────────────────────────────────────^
12 │ │             rows.map<List<String>>( (String row) => row.split(delimiter) )
13 │ │         );
   │ └─────────^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/util/fmt/column.dart

INFO: Unnecessary new keyword.

lib/src/util/fmt/column.dart:16:42

   ╷
16 │     final List<int> longestRowInColumn       = new List<int>.generate(rowsToColumns[0].length, (int i) => 0);
   │                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/util/fmt/column.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
meta^1.1.81.3.01.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

Support sound null safety
0 / 20

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint `>=2.3.0 <3.0.0`) is less than 2.12.

Consider migrating.

Analysed with Pana 0.16.0, Dart 2.12.4.

0
likes
80
pub points
6%
popularity

Small library of pre-formatted String outputs for various classes.

Repository (GitLab)
View/report issues

Documentation

API reference

Uploader

code.iron.e@gmail.com

License

LICENSE.md

Dependencies

meta

More

Packages that depend on dstring_fmt