Document class abstract

Implemented types

Constructors

Document.body({Map<String, String>? attributes, Key? key})
Attaches a set of attributes to the <body> element.
const
factory
Document.head({String? title, Map<String, String>? meta, List<Component>? children, Key? key})
Renders metadata and other elements inside the <head> of the document.
const
factory
Document.html({Map<String, String>? attributes, Key? key})
Attaches a set of attributes to the <html> element.
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one component replaces another component in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() Element
Inflates this configuration to a concrete instance.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited