AssistMessageSettings constructor
const
AssistMessageSettings({
- bool showAuthorName = false,
- bool showTimestamp = false,
- bool? showAuthorAvatar,
- DateFormat? timestampFormat,
- TextStyle? textStyle,
- TextStyle? headerTextStyle,
- Color? backgroundColor,
- ShapeBorder? shape,
- double widthFactor = 0.8,
- Size avatarSize = const Size.square(32.0),
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? avatarPadding,
- EdgeInsetsGeometry headerPadding = const EdgeInsetsDirectional.only(bottom: 3.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),
});