angel3_html_builder 2.0.4 copy "angel3_html_builder: ^2.0.4" to clipboard
angel3_html_builder: ^2.0.4 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:angel3_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
0%
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

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection

More

Packages that depend on angel3_html_builder