ZegoLiveStreamingTopMenuBarConfig class
Configuration options for the top menu bar (toolbar).
Constructors
-
ZegoLiveStreamingTopMenuBarConfig({List<
ZegoLiveStreamingMenuBarButtonName> buttons = const [], EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, Color? backgroundColor, double? height, Widget hostAvatarBuilder(ZegoUIKitUser host)?, bool showCloseButton = true})
Properties
- backgroundColor ↔ Color?
-
background color for the top menu bar.
getter/setter pair
-
These buttons will displayed on the menu bar, order by the list
only support
minimizingButton
right nowgetter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double?
-
height for the top menu bar.
getter/setter pair
- hostAvatarBuilder ↔ (Widget Function(ZegoUIKitUser host)?)
-
You can customize the host icon widget in the top-left corner.
If you don't want to display it, return Container().
getter/setter pair
- margin ↔ EdgeInsetsGeometry?
-
margin for the top menu bar.
getter/setter pair
- padding ↔ EdgeInsetsGeometry?
-
padding for the top menu bar.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showCloseButton ↔ bool
-
set false if you want to hide the close (exit the live streaming room) button.
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