Gifts constructor
const
Gifts({
- Key? key,
- required String avChatRoomID,
- int concurrenceGiftCount = 2,
- required GlobalKey<
BarrageState> barrageStateKey, - required GiftSpecialEffectPlayerController giftSpecialEffectPlayerController,
- Widget giftMessageBuilder(
- BuildContext context,
- V2TimMessage message
- String giftHttpBase = "",
Implementation
const Gifts(
{Key? key,
required this.avChatRoomID,
this.concurrenceGiftCount = 2,
required this.barrageStateKey,
required this.giftSpecialEffectPlayerController,
this.giftMessageBuilder,
this.giftHttpBase = ""})
: super(key: key);