call_ui_kit library

A universal call UI kit for Flutter.

Provides a single CallScreen widget that handles personal audio calls, personal video calls, and group video calls. Fully customizable through CallTheme and CallStrings.

Classes

CallAvatar
A circle avatar that displays either a network image or a coloured initial fallback.
CallParticipant
Holds all information about a single call participant.
CallScreen
A single call screen widget that adapts to personal audio, personal video, and group video calls based on the provided configuration.
CallStrings
Contains every user-facing string displayed by the call UI kit.
CallTheme
Defines the colour palette for the call UI.
FloatingPipView
A floating, draggable mini-view that displays the local participant's video stream during a call.
GroupCallLayoutResolver
Resolves the appropriate GroupCallLayoutMode based on participant count and screen-sharing state.
IncomingCallScreen
Displays an incoming call screen with caller info, and accept/decline buttons.
MoreBottomSheet
A modal bottom sheet with a handle bar, optional encryption label, custom content area, and a cancel button.
OutgoingCallScreen
Displays an outgoing call screen with caller info, optional mute/speaker toggles, and an end-call button.
ParticipantsPanel
A draggable bottom sheet showing all participants in a group call.
ParticipantTile
Displays a single call participant as a tile with layered overlays.
PipSnapCalculator
Calculates the snap position for the floating Picture-in-Picture view.
ScreenShareBanner
Shows a contextual banner at the top of the call screen indicating that screen sharing is in progress.
SignalStrengthIcon
Renders a signal strength icon composed of four bars of increasing height.
SpeakingIndicator
Displays three vertical bars that animate in a sine-wave pattern to indicate that a participant is actively speaking.

Enums

CallType
The type of call being made or received.
GroupCallLayoutMode
The layout mode used to arrange participants in a group call.
SignalStrength
Signal strength level for a participant's network connection.