template_block 0.2.0

Dart native js
Flutter Android iOS web

The 'template block' is a template engine for the code generators with a very simple syntax.

0
likes
90 / 110
pub points
42 %
popularity

We analyzed this package on Sep 25, 2020, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

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

  • 0 out of 19 API elements (0.0 %) 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.

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 20 issues. Showing the first 2:

INFO: The value of the local variable 'pos' isn't used.

lib/src/template_block.dart:248:9

    ╷
248 │     var pos = textPos;
    │         ^^^
    ╵

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

INFO: The value of the field '_cachePos' isn't used.

lib/src/template_block_parser.dart:37:7

   ╷
37 │   int _cachePos;
   │       ^^^^^^^^^
   ╵

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

Support up-to-date dependencies
20 / 20

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

No dependencies.

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

0
likes
90
pub points
42%
popularity

The 'template block' is a template engine for the code generators with a very simple syntax.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

andrew.mezoni@gmail.com

License

BSD (LICENSE)

More

Packages that depend on template_block