MantleServerRenderer class

Server-side semantic HTML renderer for MantleNode trees. Produces standard, accessible HTML markup with zero client-side framework overhead.

Implemented types

Constructors

MantleServerRenderer({bool emitHydrationMarkers = true})
const

Properties

emitHydrationMarkers → bool
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(MantleNode node) → HtmlNode
override
renderDocument(MantleNode node, {WebMetadata? metadata, String? currentUrl, List<String> scriptUrls = const [], List<String> stylesheetUrls = const []}) → String
Renders a MantleNode tree into a complete standalone HTML document with metadata.
toString() → String
A string representation of this object.
inherited

Operators

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