HtmlDocument constructor

HtmlDocument(
  1. List<Object?> body, {
  2. String title = '',
  3. List<Object?> head = const [],
  4. String lang = 'en',
  5. Map<String, Object?> bodyAttributes = const {},
})

A whole page.

Implementation

HtmlDocument(
  List<Object?> body, {
  this.title = '',
  List<Object?> head = const [],
  this.lang = 'en',
  this.bodyAttributes = const {},
}) : body = _nodes(body),
     head = _nodes(head);