frontface_chat library

Classes

FrontFaceAttachmentCard
Renders a location / media attachment card inside a chat bubble.
FrontFaceAttachmentPayload
UI helper for local provisional bubbles / legacy text parse.
FrontFaceAttachmentsConfig
Optional chat attachments (location, images, voice notes).
FrontFaceAttachmentSheet
Bottom sheet listing enabled attachment actions.
FrontFaceChannelButton
FrontFaceChannelButtons
FrontFaceChat
Entry point for opening FrontFace chat in your Flutter app.
FrontFaceChatConfig
Credentials and settings for your FrontFace project.
FrontFaceChatMessage
FrontFaceChatProvider
FrontFaceChatScreen
Full-screen native FrontFace chat UI.
FrontFaceChatStrings
Localizable UI strings for the chat package.
FrontFaceChatTheme
Visual styling for the chat UI. Override any field to match your app.
FrontFaceCsatPrompt
FrontFaceEmbedConfig
FrontFaceEmbedNotice
FrontFaceHandoffAvailability
FrontFaceIdentifyResult
FrontFaceImageViewer
Full-screen image preview with pinch / double-tap zoom.
FrontFaceLeadForm
FrontFaceLocationData
Location payload for POST /api/chat/message (location field).
FrontFaceLocationPickerScreen
Full-screen map picker with place search. Returns a location payload or null.
FrontFaceMediaUploadReservation
Response from POST /api/media/uploads.
FrontFaceMessageBubble
FrontFaceMessageMetadata
FrontFaceMessagePart
Non-text part from GET …/messages/public (MessagePart in openapi).
FrontFaceOfflineForm
FrontFacePendingAttachment
Local file waiting to be uploaded to FrontFace storage.
FrontFaceRealtimeConfig
Supabase Realtime settings from bootstrap GET /api/embed/config/{projectId}.
FrontFaceTicketAction
FrontFaceTicketCard
FrontFaceTypingIndicator

Enums

FrontFaceAttachmentKind
Kind of pending attachment.
FrontFaceAttachmentUploadStatus
Client-side upload state for optimistic attachment bubbles.
FrontFaceConversationStatus
FrontFaceHandoffMode
Handoff availability mode from GET .../handoff-availability.
FrontFaceLeadCaptureMode
FrontFaceMediaProcessingStatus
Audio transcript pipeline status from MessagePart.processingStatus.
FrontFaceMessagePartType
FrontFaceSenderType
FrontFaceTicketStatus
Ticket action status from chat/handoff responses (§5.1).

Constants

kFrontFaceArabicFontFamily → const String
Bundled Noto Sans Arabic family (used automatically for RTL / Arabic UI).

Functions

Opens a Markdown link in the system browser / mail app.

Exceptions / Errors

FrontFaceApiException
FrontFaceIdentifyException
Thrown when POST /api/customers/identify fails.