AgentMessageSpec constructor
const
AgentMessageSpec({})
Creates a spec; every slot defaults to empty.
Implementation
const AgentMessageSpec({
StyleSpec<BoxSpec>? container,
StyleSpec<BoxSpec>? surface,
StyleSpec<TextSpec>? text,
StyleSpec<BoxSpec>? header,
StyleSpec<BoxSpec>? footer,
this.maxWidthFactor,
this.collapsedHeight,
}) : container = container ?? const StyleSpec(spec: BoxSpec()),
surface = surface ?? const StyleSpec(spec: BoxSpec()),
text = text ?? const StyleSpec(spec: TextSpec()),
header = header ?? const StyleSpec(spec: BoxSpec()),
footer = footer ?? const StyleSpec(spec: BoxSpec());