Document.body constructor
Attaches a set of attributes to the <body>
element.
This can be used at any point in the component tree and is supported both on the server during pre-rendering and on the client.
Can be used multiple times in an application where deeper or latter mounted
components will override duplicate attributes from other .body()
components.
Implementation
const factory Document.body({
Map<String, String>? attributes,
Key? key,
}) = AttachDocument.body;