html_builder 1.0.5

Dart native js
Flutter Android iOS web

Build HTML AST's and render them to HTML. This can be used as an internal DSL, i.e. for a templating engine.

0
likes
70 / 110
pub points
82 %
popularity

We analyzed this package on Oct 24, 2020, and awarded it 70 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
0 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 16 out of 161 API elements (9.9 %) 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 449 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/elements.dart:27:27

   ╷
27 │ Node text(String text) => new TextNode(text);
   │                           ^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Use `=` to separate a named parameter from its default value.

lib/elements.dart:36:31

   ╷
36 │         Map<String, dynamic> p: const {},
   │                               ^
   ╵

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

Support up-to-date dependencies
10 / 20

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

  • Could not run pub outdated: pub get failed:
The current Dart SDK version is 2.10.2.

Because html_builder depends on test >=0.12.0-beta.3 <1.3.0 which requires SDK version >=1.8.0 <2.0.0-∞, version solving failed.

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

0
likes
70
pub points
82%
popularity

Build HTML AST's and render them to HTML. This can be used as an internal DSL, i.e. for a templating engine.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

thosakwe@gmail.com

License

MIT (LICENSE)

Dependencies

collection

More

Packages that depend on html_builder