ChatMessage constructor

const ChatMessage({
  1. Key? key,
  2. required List<PapercupsMessage>? msgs,
  3. required int index,
  4. required PapercupsProps props,
  5. required bool sending,
  6. required double maxWidth,
  7. required String locale,
  8. required dynamic timeagoLocale,
  9. required String sendingText,
  10. required String sentText,
  11. required Color textColor,
  12. void onMessageBubbleTap(
    1. PapercupsMessage
    )?,
})

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);