Barrage constructor
const
Barrage({
- Key? key,
- Widget barrageItemBuilder(
- BuildContext context,
- V2TimMessage message,
- Widget child
- Widget barrageItemPrefix(
- BuildContext context,
- V2TimMessage message
- V2TimMessage? initialMessage,
- int? cacheCount,
- required String avChatRoomID,
Implementation
const Barrage(
{Key? key,
this.barrageItemBuilder,
this.barrageItemPrefix,
this.initialMessage,
int? cacheCount,
required this.avChatRoomID})
: cachedMessageCount = cacheCount ?? 200,
super(key: key);