AssistMessageSettings constructor

const AssistMessageSettings({
  1. bool showAuthorName = false,
  2. bool showTimestamp = false,
  3. bool? showAuthorAvatar,
  4. DateFormat? timestampFormat,
  5. TextStyle? textStyle,
  6. TextStyle? headerTextStyle,
  7. Color? backgroundColor,
  8. ShapeBorder? shape,
  9. double widthFactor = 0.8,
  10. Size avatarSize = const Size.square(32.0),
  11. EdgeInsetsGeometry? margin,
  12. EdgeInsetsGeometry? padding,
  13. EdgeInsetsGeometry? avatarPadding,
  14. EdgeInsetsGeometry headerPadding = const EdgeInsetsDirectional.only(bottom: 3.0),
  15. EdgeInsetsGeometry footerPadding = const EdgeInsetsDirectional.only(top: 4.0),
})

Implementation

const AssistMessageSettings({
  this.showAuthorName = false,
  this.showTimestamp = false,
  this.showAuthorAvatar,
  this.timestampFormat,
  this.textStyle,
  this.headerTextStyle,
  this.backgroundColor,
  this.shape,
  this.widthFactor = 0.8,
  this.avatarSize = const Size.square(32.0),
  this.margin,
  this.padding,
  this.avatarPadding,
  this.headerPadding = const EdgeInsetsDirectional.only(bottom: 3.0),
  this.footerPadding = const EdgeInsetsDirectional.only(top: 4.0),
});