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

outdated

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
0
pub points
18%
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.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

collection

More

Packages that depend on belatuk_html_builder