Document constructor

const Document({
  1. String? title,
  2. String? lang,
  3. String? base,
  4. String? charset,
  5. String? viewport,
  6. Map<String, String>? meta,
  7. List<StyleRule>? styles,
  8. List<Component> head,
  9. required Component body,
})

Implementation

const factory Document({
  String? title,
  String? lang,
  String? base,
  String? charset,
  String? viewport,
  Map<String, String>? meta,
  List<StyleRule>? styles,
  List<Component> head,
  required Component body,
}) = _BaseDocument;