Content constructor

const Content({
  1. Key? key,
  2. required List<ChatMessage> messages,
  3. required ScrollController controller,
  4. required LoadMoreCallback onLoadMore,
  5. required bool isFinished,
  6. void onSelectQuickReply(
    1. String,
    2. String,
    3. int
    )?,
  7. void onLikeAction(
    1. bool,
    2. String,
    3. String
    )?,
  8. bool? isTop,
})

Implementation

const Content({
  super.key,
  required this.messages,
  required this.controller,
  required this.onLoadMore,
  required this.isFinished,
  this.onSelectQuickReply,
  this.onLikeAction,
  this.isTop,
});