ZegoLiveAudioRoomBottomMenuBarConfig constructor

ZegoLiveAudioRoomBottomMenuBarConfig({
  1. bool visible = true,
  2. bool showInRoomMessageButton = true,
  3. List<ZegoLiveAudioRoomMenuBarButtonName> hostButtons = const [ZegoLiveAudioRoomMenuBarButtonName.soundEffectButton, ZegoLiveAudioRoomMenuBarButtonName.toggleMicrophoneButton, ZegoLiveAudioRoomMenuBarButtonName.showMemberListButton, ZegoLiveAudioRoomMenuBarButtonName.closeSeatButton],
  4. List<ZegoLiveAudioRoomMenuBarButtonName> speakerButtons = const [ZegoLiveAudioRoomMenuBarButtonName.soundEffectButton, ZegoLiveAudioRoomMenuBarButtonName.toggleMicrophoneButton, ZegoLiveAudioRoomMenuBarButtonName.showMemberListButton],
  5. List<ZegoLiveAudioRoomMenuBarButtonName> audienceButtons = const [ZegoLiveAudioRoomMenuBarButtonName.showMemberListButton, ZegoLiveAudioRoomMenuBarButtonName.applyToTakeSeatButton],
  6. List<Widget> hostExtendButtons = const [],
  7. List<Widget> speakerExtendButtons = const [],
  8. List<Widget> audienceExtendButtons = const [],
  9. int maxCount = 5,
})

Implementation

ZegoLiveAudioRoomBottomMenuBarConfig({
  this.visible = true,
  this.showInRoomMessageButton = true,
  this.hostButtons = const [
    ZegoLiveAudioRoomMenuBarButtonName.soundEffectButton,
    ZegoLiveAudioRoomMenuBarButtonName.toggleMicrophoneButton,
    ZegoLiveAudioRoomMenuBarButtonName.showMemberListButton,
    ZegoLiveAudioRoomMenuBarButtonName.closeSeatButton,
  ],
  this.speakerButtons = const [
    ZegoLiveAudioRoomMenuBarButtonName.soundEffectButton,
    ZegoLiveAudioRoomMenuBarButtonName.toggleMicrophoneButton,
    ZegoLiveAudioRoomMenuBarButtonName.showMemberListButton,
  ],
  this.audienceButtons = const [
    ZegoLiveAudioRoomMenuBarButtonName.showMemberListButton,
    ZegoLiveAudioRoomMenuBarButtonName.applyToTakeSeatButton,
  ],
  this.hostExtendButtons = const [],
  this.speakerExtendButtons = const [],
  this.audienceExtendButtons = const [],
  this.maxCount = 5,
});