ZegoCallBottomMenuBarConfig class

Configuration options for the bottom menu bar (toolbar). You can use the ZegoUIKitPrebuiltCallConfig.bottomMenuBar property to set the properties inside this class.

Constructors

ZegoCallBottomMenuBarConfig({bool isVisible = true, bool hideAutomatically = true, bool hideByClick = true, List<ZegoCallMenuBarButtonName> buttons = const [ZegoCallMenuBarButtonName.toggleCameraButton, ZegoCallMenuBarButtonName.toggleMicrophoneButton, ZegoCallMenuBarButtonName.hangUpButton, ZegoCallMenuBarButtonName.switchAudioOutputButton, ZegoCallMenuBarButtonName.switchCameraButton], List<Widget> extendButtons = const [], int maxCount = 5, ZegoCallMenuBarStyle style = ZegoCallMenuBarStyle.light, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, Color? backgroundColor, double? height})

Properties

backgroundColor Color?
background color for the bottom menu bar.
getter/setter pair
buttons List<ZegoCallMenuBarButtonName>
Buttons displayed on the menu bar. The buttons will be arranged in the order specified in the list.
getter/setter pair
extendButtons List<Widget>
Extension buttons that allow you to add your own buttons to the top toolbar. These buttons will be added to the menu bar in the specified order. If the limit of maxCount is exceeded, additional buttons will be automatically added to the overflow menu.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double?
height for the bottom menu bar.
getter/setter pair
hideAutomatically bool
Whether to automatically collapse the top menu bar after 5 seconds of inactivity.
getter/setter pair
hideByClick bool
Whether to collapse the top menu bar when clicking on the blank area.
getter/setter pair
isVisible bool
Whether to display the bottom menu bar.
getter/setter pair
margin EdgeInsetsGeometry?
margin for the bottom menu bar.
getter/setter pair
maxCount int
Controls the maximum number of buttons to be displayed in the menu bar (toolbar). When the number of buttons exceeds the maxCount limit, a "More" button will appear. Clicking on it will display a panel showing other buttons that cannot be displayed in the menu bar (toolbar).
getter/setter pair
padding EdgeInsetsGeometry?
padding for the bottom menu bar.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style ZegoCallMenuBarStyle
Button style for the bottom menu bar.
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.
override

Operators

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