belatuk_html_builder 5.1.0 copy "belatuk_html_builder: ^5.1.0" to clipboard
belatuk_html_builder: ^5.1.0 copied to clipboard

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

example/main.dart

import 'package:belatuk_html_builder/elements.dart';

void main() {
  var dom = html(lang: 'en', c: [
    head(c: [
      title(c: [text('Hello, world!')])
    ]),
    body(c: [
      h1(c: [text('Hello, world!')]),
      p(c: [text('Ok')])
    ])
  ]);

  print(dom);
}
0
likes
130
pub points
5%
popularity

Publisher

verified publisherdukefirehawk.com

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

License

BSD-3-Clause (LICENSE)

Dependencies

collection

More

Packages that depend on belatuk_html_builder