You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| ChatwootChat | Also a widget implementation of ChatwootClient but presents only the Chat interface. Can be embedded in a a custom page unlike the dialog which is always presented in a dialog | API |```dart ChatwootChat ( baseUrl: widget . baseUrl , inboxIdentifier: widget . inboxIdentifier , userIdentityValidationKey: widget . userIdentityValidationKey , user: widget . user , enablePersistence: widget . enablePersistence , theme: ChatwootChatTheme (primaryColor: Colors. blue ,), onConversationIsOffline: () {}, onConversationIsOnline: () {}, onConversationStoppedTyping: () {}, onConversationStartedTyping: () {}, onAttachmentPressed: widget . onAttachmentPressed , openFile: widget . openFile , ) ```| - |
28
-
| ChatwootWidget | The chatwoot website channel widget embedded in a flutter webview | Website |```dart ChatwootWidget ( websiteToken: "websiteToken" , baseUrl: "https://app.chatwoot.com" , user: ChatwootUser ( identifier: "[email protected]" , name: "Tester test" , email: "[email protected]" , ), locale: "en" , closeWidget: () { if ( Platform .isAndroid) { SystemNavigator .pop(); } else if ( Platform .isIOS) { exit( 0 ); } }, //attachment only works on android for now onAttachFile: _androidFilePicker, onLoadStarted: () {}, onLoadProgress: ( int progress) {}, onLoadCompleted: () {}, ) ```| Flutter webview currently supports only android & ios. Adding file attachment not supported on ios. Some known issues with previewing and downloading attached files on both Android and ios. |
23
+
| Options | Use case | Inbox Type | Example | Known Platform Support Issues |
| ChatwootClient | Bare client api for building custom chat widgets. | API |[Chatwoot Client example](#a-using-chatwoot-client)| - |
26
+
| ChatwootDialog | Flutter Widget implementation built on the ChatwootClient | API |[Chatwoot Dialog example](#b-using-chatwootChatDialog)| - |
27
+
| ChatwootChat | Also a widget implementation of ChatwootClient but presents only the Chat interface. Can be embedded in a a custom page unlike the dialog which is always presented in a dialog | API |[Chatwoot Chat Widget example](#c-embedding-chatwootChat)| - |
28
+
| ChatwootWidget | The chatwoot website channel widget embedded in a flutter webview | Website |[Chatwoot Webview Widget example](#d-using-chatwootWidgetwebview)| Flutter webview currently supports only android & ios. Adding file attachment not supported on ios. Some known issues with previewing and downloading attached files on both Android and ios. |
0 commit comments