ZegoLiveStreamingBottomMenuBarButtonStyle class

Button style for the bottom toolbar, allowing customization of button icons or text.

You can use the ZegoUIKitPrebuiltLiveStreamingConfig.bottomMenuBarConfig -> ZegoLiveStreamingBottomMenuBarConfig.buttonStyle property to set the properties inside this class.

Example:

ZegoBottomMenuBarButtonStyle(
  // Customize the enabled chat button icon
  chatEnabledButtonIcon: const Icon(Icons.chat),
  // Customize the disabled chat button icon
  chatDisabledButtonIcon: const Icon(Icons.chat_disabled),
  // Customize other button icons...
);

Constructors

ZegoLiveStreamingBottomMenuBarButtonStyle({Widget? chatEnabledButtonIcon, Widget? chatDisabledButtonIcon, Widget? toggleMicrophoneOnButtonIcon, Widget? toggleMicrophoneOffButtonIcon, Widget? toggleCameraOnButtonIcon, Widget? toggleCameraOffButtonIcon, Widget? switchCameraButtonIcon, Widget? switchAudioOutputToSpeakerButtonIcon, Widget? switchAudioOutputToHeadphoneButtonIcon, Widget? switchAudioOutputToBluetoothButtonIcon, Widget? leaveButtonIcon, Widget? requestCoHostButtonIcon, String? requestCoHostButtonText, Widget? cancelRequestCoHostButtonIcon, String? cancelRequestCoHostButtonText, Widget? endCoHostButtonIcon, String? endCoHostButtonText, Widget? beautyEffectButtonIcon, Widget? soundEffectButtonIcon, Widget? enableChatButtonIcon, Widget? disableChatButtonIcon, Widget? toggleScreenSharingOnButtonIcon, Widget? toggleScreenSharingOffButtonIcon})

Properties

beautyEffectButtonIcon Widget?
Icon for beauty effect.
getter/setter pair
cancelRequestCoHostButtonIcon Widget?
Icon for canceling co-host request.
getter/setter pair
cancelRequestCoHostButtonText String?
Text for canceling co-host request button.
getter/setter pair
chatDisabledButtonIcon Widget?
Icon for disabling chat.
getter/setter pair
chatEnabledButtonIcon Widget?
Icon for enabling chat.
getter/setter pair
disableChatButtonIcon Widget?
Icon for disabling chat.
getter/setter pair
enableChatButtonIcon Widget?
Icon for enabling chat.
getter/setter pair
endCoHostButtonIcon Widget?
Icon for ending co-host status.
getter/setter pair
endCoHostButtonText String?
Text for ending co-host status button.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
leaveButtonIcon Widget?
Icon for leaving the room.
getter/setter pair
requestCoHostButtonIcon Widget?
Icon for requesting co-host status.
getter/setter pair
requestCoHostButtonText String?
Text for requesting co-host status button.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
soundEffectButtonIcon Widget?
Icon for sound effect.
getter/setter pair
switchAudioOutputToBluetoothButtonIcon Widget?
Icon for switching audio output to Bluetooth.
getter/setter pair
switchAudioOutputToHeadphoneButtonIcon Widget?
Icon for switching audio output to headphone.
getter/setter pair
switchAudioOutputToSpeakerButtonIcon Widget?
Icon for switching audio output to speaker.
getter/setter pair
switchCameraButtonIcon Widget?
Icon for switching camera.
getter/setter pair
toggleCameraOffButtonIcon Widget?
Icon for toggling camera off.
getter/setter pair
toggleCameraOnButtonIcon Widget?
Icon for toggling camera on.
getter/setter pair
toggleMicrophoneOffButtonIcon Widget?
Icon for toggling microphone off.
getter/setter pair
toggleMicrophoneOnButtonIcon Widget?
Icon for toggling microphone on.
getter/setter pair
toggleScreenSharingOffButtonIcon Widget?
Icon for toggling screen sharing off.
getter/setter pair
toggleScreenSharingOnButtonIcon Widget?
Icon for toggling screen sharing on.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited