AgentMessageStyler.create constructor
const
AgentMessageStyler.create({
- Prop<
StyleSpec< ? container,BoxSpec> > - Prop<
StyleSpec< ? surface,BoxSpec> > - Prop<
StyleSpec< ? text,TextSpec> > - Prop<
StyleSpec< ? header,BoxSpec> > - Prop<
double> ? maxWidthFactor, - Prop<
double> ? collapsedHeight, - List<
VariantStyle< ? variants,AgentMessageSpec> > - WidgetModifierConfig? modifier,
- AnimationConfig? animation,
Implementation
const AgentMessageStyler.create({
Prop<StyleSpec<BoxSpec>>? container,
Prop<StyleSpec<BoxSpec>>? surface,
Prop<StyleSpec<TextSpec>>? text,
Prop<StyleSpec<BoxSpec>>? header,
Prop<StyleSpec<BoxSpec>>? footer,
Prop<double>? maxWidthFactor,
Prop<double>? collapsedHeight,
super.variants,
super.modifier,
super.animation,
}) : $container = container,
$surface = surface,
$text = text,
$header = header,
$footer = footer,
$maxWidthFactor = maxWidthFactor,
$collapsedHeight = collapsedHeight;