BaseDocument constructor

const BaseDocument({
  1. String? title,
  2. String? lang,
  3. String? base,
  4. String? charset = 'utf-8',
  5. String? viewport = 'width=device-width, initial-scale=1.0',
  6. Map<String, String>? meta,
  7. List<StyleRule>? styles,
  8. List<Component> head = const [],
  9. required Component body,
})

Implementation

const BaseDocument({
  this.title,
  this.lang,
  this.base,
  this.charset = 'utf-8',
  this.viewport = 'width=device-width, initial-scale=1.0',
  this.meta,
  this.styles,
  this.head = const [],
  required this.body,
}) : super(key: _documentKey);