MessageContent constructor

const MessageContent({
  1. Key? key,
  2. required List<ChatMessageModel> chatList,
  3. required int index,
  4. String search = Constants.emptyString,
  5. bool isSelected = false,
  6. required dynamic onPlayAudio(),
  7. required dynamic onSeekbarChange(
    1. double
    ),
  8. bool showChatDeliveryIndicator = true,
})

Implementation

const MessageContent({Key? key,
  required this.chatList,
  required this.index,
  this.search = Constants.emptyString,
  this.isSelected = false,
  required this.onPlayAudio,
  required this.onSeekbarChange, this.showChatDeliveryIndicator = true})
    : super(key: key);