DefaultMessageWidget constructor
const
DefaultMessageWidget({
- required GlobalKey<
State< key,StatefulWidget> > - required MessageModel message,
- String? fontFamily,
- double fontSize = 16.0,
- Color? textColor,
- Color? backgroundColor,
- MessageWidgetBuilder? messageWidget,
- double avatarSize = 40,
- OnBubbleClick? onBubbleTap,
- OnBubbleClick? onBubbleLongPress,
- HiSelectionArea? hiSelectionArea,
Implementation
const DefaultMessageWidget(
{required GlobalKey key,
required this.message,
this.fontFamily,
this.fontSize = 16.0,
this.textColor,
this.backgroundColor,
this.messageWidget,
this.avatarSize = 40,
this.onBubbleTap,
this.onBubbleLongPress,
this.hiSelectionArea})
: super(key: key);