DocumentRenderer class final

Renders semantic HTML and optional Flutter hydration state.

Query handoff data is encoded with the active RenderContext.serializer.

Constructors

DocumentRenderer({String? flutterBootstrap, String? baseHref})
Creates a document renderer.
const

Properties

baseHref → String?
Base URL overriding route document declarations.
final
flutterBootstrap → String?
Flutter bootstrap URL used for hybrid routes.
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

call(RenderContext context) → Future<ServerResponse>
Renders one loaded route branch.
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