AgentMessageStyler.create constructor

const AgentMessageStyler.create({
  1. Prop<StyleSpec<BoxSpec>>? container,
  2. Prop<StyleSpec<BoxSpec>>? surface,
  3. Prop<StyleSpec<TextSpec>>? text,
  4. Prop<StyleSpec<BoxSpec>>? header,
  5. Prop<StyleSpec<BoxSpec>>? footer,
  6. Prop<double>? maxWidthFactor,
  7. Prop<double>? collapsedHeight,
  8. List<VariantStyle<AgentMessageSpec>>? variants,
  9. WidgetModifierConfig? modifier,
  10. 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;