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