CometChatCallScreenBuilder typedef

CometChatCallScreenBuilder = Widget Function(CometChatCallDetails callDetails)

Builder for a custom call screen.

Receives the callDetails. When a custom screen is provided, the plugin delegates full control to it — the consumer is responsible for:

The CometChatNotificationConfig.onCallAccepted / CometChatNotificationConfig.onCallDeclined callbacks only apply to the default call screen.

Implementation

typedef CometChatCallScreenBuilder =
    Widget Function(CometChatCallDetails callDetails);