MdcHtmlComponentContext class final

The input passed to an MdcHtmlComponentBuilder.

Constructors

MdcHtmlComponentContext({required String name, required Map<String, Object?> properties, required HtmlFragment children, required Map<String, MdcHtmlSlot> slots})
Creates an HTML component context.
const

Properties

children → HtmlFragment
The rendered default slot.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The component name found in the source document.
final
properties → Map<String, Object?>
The component properties parsed from MDC source.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slots → Map<String, MdcHtmlSlot>
The rendered named slots.
final

Methods

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