chataptor_flutter 0.2.0
chataptor_flutter: ^0.2.0 copied to clipboard
Drop-in Flutter widgets for Chataptor — real-time, auto-translated customer support chat in 100+ languages. Free forever. Built-in theming, localization, lifecycle.
Changelog #
All notable changes to this package will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.0 - 2026-05-22 #
Added #
ChataptorChatScreen.showAppBar— opt-out of the screen's internalAppBarwhen embedding the chat inside a bottom sheet, dialog, or any host that provides its own chrome. The agent-presence header still renders inline at the top of the body so customers keep the "who's online" cue regardless of how the chat is mounted.- Offline UX MVP — when the backend reports
OfflineMode.manualOfflinefor the active site, an inline banner is rendered above the composer and the composer itself is disabled. Variant-leveloffline_title/offline_subtitlestrings take precedence over the bundled localized fallbacks. ChataptorLocalizations.offlineBannerTitleandofflineBannerSubtitlefor the offline banner copy (English + Polish).
Changed #
- Bumped
chataptordependency constraint to^0.2.0to pick up the newChataptorClient.identify(),ChataptorConfig.sessionIdleTimeout, and the identified-customer attribution fix. See thechataptor0.2.0 changelog for the full list.
0.1.0 - 2026-05-19 #
Added #
Chataptor.init/Chataptor.instancesingleton.ChataptorScopeinherited widget for multi-instance and test scenarios.ChataptorLifecycleObserver— disconnects onpaused, reconnects onresumedinforegroundActiveconnection mode.SharedPreferencesChataptorStorageadapter.ValueListenableStreamadapter.ChataptorThemewithlight()andmatching(context)factories.ChataptorLocalizationswith English and Polish.- Widgets:
ChataptorMessageBubble,ChataptorMessageList,ChataptorComposer,ChataptorChatScreen,ChataptorChatHeader. ChataptorChatHeadershows an avatar stack of currently online agents (up to 3 visible + overflow badge), the configured team name (e.g. "Customer Support") fromSiteConfig.headerTitle, and a live Online/Offline status indicator driven byonlineAgentsStream. Replaces the previous hardcoded'Support'AppBar title inChataptorChatScreen.- Transitively exports the
chataptorcore package.