Gifts constructor

const Gifts({
  1. Key? key,
  2. required String avChatRoomID,
  3. int concurrenceGiftCount = 2,
  4. required GlobalKey<BarrageState> barrageStateKey,
  5. required GiftSpecialEffectPlayerController giftSpecialEffectPlayerController,
  6. Widget giftMessageBuilder(
    1. BuildContext context,
    2. V2TimMessage message
    )?,
  7. 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);