ChatMessage constructor
const
ChatMessage({
- Key? key,
- required List<
PapercupsMessage> ? msgs, - required int index,
- required PapercupsProps props,
- required bool sending,
- required double maxWidth,
- required String locale,
- required dynamic timeagoLocale,
- required String sendingText,
- required String sentText,
- required Color textColor,
- void onMessageBubbleTap()?,
Implementation
const ChatMessage({
Key? key,
required this.msgs,
required this.index,
required this.props,
required this.sending,
required this.maxWidth,
required this.locale,
required this.timeagoLocale,
required this.sendingText,
required this.sentText,
required this.textColor,
this.onMessageBubbleTap,
}) : super(key: key);