AgentMessageStyler constructor

AgentMessageStyler({
  1. BoxStyler? container,
  2. BoxStyler? surface,
  3. TextStyler? text,
  4. BoxStyler? header,
  5. BoxStyler? footer,
  6. double? maxWidthFactor,
  7. double? collapsedHeight,
  8. AnimationConfig? animation,
  9. WidgetModifierConfig? modifier,
  10. List<VariantStyle<AgentMessageSpec>>? variants,
})

Implementation

AgentMessageStyler({
  BoxStyler? container,
  BoxStyler? surface,
  TextStyler? text,
  BoxStyler? header,
  BoxStyler? footer,
  double? maxWidthFactor,
  double? collapsedHeight,
  AnimationConfig? animation,
  WidgetModifierConfig? modifier,
  List<VariantStyle<AgentMessageSpec>>? variants,
}) : this.create(
       container: Prop.maybeMix(container),
       surface: Prop.maybeMix(surface),
       text: Prop.maybeMix(text),
       header: Prop.maybeMix(header),
       footer: Prop.maybeMix(footer),
       maxWidthFactor: Prop.maybe(maxWidthFactor),
       collapsedHeight: Prop.maybe(collapsedHeight),
       variants: variants,
       modifier: modifier,
       animation: animation,
     );