platform-common-utilities/packages/html_builder/example/main.dart

16 lines
271 B
Dart
Raw Normal View History

2021-09-11 02:17:30 +00:00
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);
}