AIDocs Flutter View
This is a Flutter view for the docs.
Getting Started
Initialize the config
const chatwootHttpEndpoint = 'https://chatwoot.kongshumapi.net';
const chatwootWebsocketEndpoint = 'wss://chatwoot.kongshumapi.net/cable';
_chatwootProvider = ChatwootStoreProvider(
apiEndpoint: chatwootWebsocketEndpoint,
);
_messageProvider = ChatwootMessageProvider(
url: chatwootHttpEndpoint,
inboxIdentifier: inboxIdentifier,
);
_authenticationProvider = ChatwootAuthenticationProvider(
apiEndpoint: chatwootHttpEndpoint,
name: 'DocsUser',
userId: '20',
inboxIdentifier: inboxIdentifier,
);
Initialize the widget
ChatPage(
messageProvider: _messageProvider,
authProvider: _authenticationProvider,
storeProvider: _chatwootProvider,
configs: {},
)
Libraries
- adapters/chat.message.adapter
- adapters/chat.user.adapter
- adapters/store.message.adapter
- adapters/user.adapter
- aidocs_flutter_view
- constants
- pages/chat.page
- providers/auth/auth.provider
- providers/auth/chatwoot.auth.provider
- providers/message/aidocsearch.provider
- providers/message/chatwoot.provider
- providers/message/message.provider
- providers/store/chatwoot.provider
- providers/store/store.provider
- providers/store/types/chatwoot/chatwoot.message
- providers/store/types/chatwoot/chatwoot.subscribe.message
- providers/store/types/chatwoot/chatwoot.websocket
- widgets/audio_player
- widgets/audio_player_v2