ZegoInRoomMessageView constructor

const ZegoInRoomMessageView({
  1. Key? key,
  2. required Stream<List<ZegoInRoomMessage>> stream,
  3. required ZegoInRoomMessageItemBuilder itemBuilder,
  4. bool scrollable = true,
  5. ScrollController? scrollController,
  6. List<ZegoInRoomMessage> historyMessages = const [],
})

Implementation

const ZegoInRoomMessageView({
  Key? key,
  required this.stream,
  required this.itemBuilder,
  this.scrollable = true,
  this.scrollController,
  this.historyMessages = const [],
}) : super(key: key);