ZegoAvatarConfig class
Configuration for the avatar in Zego UI Kit.
Constructors
- ZegoAvatarConfig({bool? showInAudioMode, bool? showSoundWavesInAudioMode, ZegoAvatarAlignment verticalAlignment = ZegoAvatarAlignment.center, Size? size, Color? soundWaveColor, ZegoAvatarBuilder? builder})
-
const
Properties
- builder → ZegoAvatarBuilder?
-
The builder function for the avatar widget.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showInAudioMode → bool?
-
Determines whether the avatar should be shown in audio mode.
final
- showSoundWavesInAudioMode → bool?
-
Determines whether sound waves should be shown in audio mode.
final
- size → Size?
-
The size of the avatar.
final
- soundWaveColor → Color?
-
The color of the sound waves.
final
- verticalAlignment → ZegoAvatarAlignment
-
The vertical alignment of the avatar.
final
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