buddy_assist_flutter 1.0.2
buddy_assist_flutter: ^1.0.2 copied to clipboard
Buddy Assist AI chat widget for Flutter — add a fully-featured support chat to your app in minutes.
buddy_assist_flutter #
A Flutter widget that adds the Buddy Assist AI chat to your app in minutes. No extra dependencies beyond http.
Installation #
Add to your pubspec.yaml:
dependencies:
buddy_assist_flutter: ^1.0.0
Usage #
import 'package:buddy_assist_flutter/buddy_assist_chat.dart';
Stack(
children: [
YourApp(),
BuddyAssistChat(
projectId: 'YOUR_PROJECT_ID',
apiKey: 'YOUR_API_KEY',
),
],
)
Props #
| Parameter | Type | Default | Description |
|---|---|---|---|
projectId |
String |
required | Your Buddy Assist project ID |
apiKey |
String |
required | Your Buddy Assist API key |
themeColor |
Color |
Color(0xFF22C55E) |
Widget accent color |
botName |
String |
'Support Bot' |
Display name in header |
welcomeMessage |
String |
'Hi! How can I help you today?' |
First message shown |
placeholder |
String |
'Type a message…' |
Input placeholder |
fabAlignment |
Alignment |
Alignment.bottomRight |
FAB position |
License #
MIT