beon_widget_sdk library
Beon Widget SDK - A fully-featured chat widget for Flutter
This library provides an embeddable chat widget with real-time messaging, visitor persistence, and customizable theming.
Basic usage:
import 'package:beon_widget_sdk/beon_widget_sdk.dart';
BeonChatWidget(
config: BeonConfig(
apiKey: 'your-api-key',
),
)
The widget fetches configuration from the API using your API key, including channel settings, pre-chat form fields, colors, and position.
Classes
- BeonChatWidget
- The main Beon Chat Widget that can be embedded in any Flutter app.
- BeonConfig
- Configuration for the Beon Chat Widget
- BeonTheme
- Theme customization for the Beon Chat Widget
- ChannelConfig
- Channel configuration from API response
- ChannelSettings
- Channel settings from API
- Message
- Represents a chat message
- PreChatFields
- Pre-chat form field configuration from API
- Visitor
- Represents a chat visitor/user
Enums
- BeonPosition
- Widget position on the screen
- MessageStatus
- Type of message content Status of a sent message
- MessageType