CallButtonsConfiguration class

CallButtonsConfiguration is a data class that has configuration properties

CallButtonsConfiguration(
 callButtonsStyle: CometChatCallButtonsStyle(),
 onError: (error) {
 // Handle error
 },
 outgoingCallConfiguration: CometChatOutgoingCallConfiguration(),
 hideVideoCall: false,
);

Constructors

CallButtonsConfiguration.new({CometChatCallButtonsStyle? callButtonsStyle, OnError? onError, CometChatOutgoingCallConfiguration? outgoingCallConfiguration, bool? hideVideoCallButton, bool? hideVoiceCallButton, Widget? voiceCallIcon, Widget? videoCallIcon, CallSettingsBuilder callSettingsBuilder(User? user, Group? group, bool? isAudioOnly)?})

Properties

callButtonsStyle CometChatCallButtonsStyle?
callButtonsStyle is a object of CometChatCallButtonsStyle which sets the style for the call buttons
final
callSettingsBuilder CallSettingsBuilder Function(User? user, Group? group, bool? isAudioOnly)?
callSettingsBuilder is used to configure the meet settings builder
final
hashCode int
The hash code for this object.
no setterinherited
hideVideoCallButton bool?
hideVideoCallButton is a bool which hides the video call icon
final
hideVoiceCallButton bool?
hideVoiceCallButton is a bool which hides the voice call icon
final
onError OnError?
onError is a callback which gets called when there is an error in call
final
outgoingCallConfiguration CometChatOutgoingCallConfiguration?
outgoingCallConfiguration is a object of OutgoingCallConfiguration which sets the configuration for outgoing call
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoCallIcon Widget?
videoCallIcon is a Widget which sets the icon for the video call
final
voiceCallIcon Widget?
voiceCallIcon is a Widget which sets the icon for the voice call
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