MessageShowArea constructor

const MessageShowArea({
  1. Key? key,
  2. required MessageController conroller,
  3. required String avChatRoomID,
  4. Widget messageItemBuilder(
    1. BuildContext context,
    2. V2TimMessage message,
    3. Widget child
    )?,
  5. Widget giftMessageBuilder(
    1. BuildContext context,
    2. V2TimMessage message
    )?,
  6. Widget messageItemPrefixBuilder(
    1. BuildContext context,
    2. V2TimMessage message
    )?,
  7. required GiftSpecialEffectPlayerController giftSpecialEffectPlayerController,
  8. V2TimMessage? initialMessage,
  9. required TencentCloudAvChatRoomConfig config,
  10. int? barrageCacheCount,
})

Implementation

const MessageShowArea(
    {Key? key,
    required this.conroller,
    required this.avChatRoomID,
    this.messageItemBuilder,
    this.giftMessageBuilder,
    this.messageItemPrefixBuilder,
    required this.giftSpecialEffectPlayerController,
    this.initialMessage,
    required this.config,
    this.barrageCacheCount})
    : super(key: key);