TheDocumentation Index
Fetch the complete documentation index at: https://docs.argide.ai/llms.txt
Use this file to discover all available pages before exploring further.
argide_flutter package adds Argide to any Flutter app. Use ArgideWidget for a floating chat button that overlays your existing app, drop in ArgideChatView for a full-screen chat experience.
Installation
Quick Start
Floating Widget (Recommended)
AddArgideWidget inside a Stack to get a floating chat button that slides up a chat sheet — zero extra UI work:
Placing
ArgideWidget in MaterialApp.builder means it automatically appears on every page and route in your app — no need to add it to each screen individually. Tapping the button slides up a chat sheet at 85% screen height.Full-Screen Chat
Wrap your app withArgideScope and drop in ArgideChatView as the full body:
ArgideChatView includes message bubbles, streaming, conversation history, suggested actions, and a “Powered by Argide” footer — no additional setup required.
ArgideScope Props
ArgideScope is an InheritedWidget that provides the client and state down the widget tree.
| Prop | Required | Description |
|---|---|---|
productId | Yes | Your product ID from the dashboard |
apiUrl | Yes | API URL |
identityToken | No | JWT token for authenticated users |
ArgideWidget Props
| Prop | Required | Description |
|---|---|---|
theme | No | ArgideTheme instance to customize the chat sheet appearance |
ArgideChatView Props
| Prop | Required | Description |
|---|---|---|
theme | No | ArgideTheme instance to customize appearance |
Theming
Customize colors and styles viaArgideTheme:
Theme Properties
| Property | Description |
|---|---|
backgroundColor | Chat background color |
userBubbleColor | User message bubble background |
userBubbleTextColor | User message text color |
assistantBubbleColor | Assistant bubble background |
assistantBubbleTextColor | Assistant message text color |
sendButtonColor | Send button color |
bubbleBorderRadius | Corner radius for message bubbles |
inputBorderColor | Input bar border color |
inputBorderLoadingColor | Input border color while streaming |
poweredByColor | ”Powered by Argide” text color |
headerBorderColor | Bottom border of the header |
messageTextStyle | Full TextStyle override for message text |
User Identity
Identify users to enable conversation history and personalized responses:Client-Side Tools
Register tools that run natively in your Flutter app:Platform Support
| Platform | Support |
|---|---|
| iOS | ✅ |
| Android | ✅ |
| macOS | ✅ |
| Web | ✅ |
iOS / macOS
No additional configuration needed. For macOS apps, add the outbound networking entitlement — required for all network calls, including production:Differences from Other SDKs
| Feature | Web (@argide/ui) | React Native | Flutter |
|---|---|---|---|
| Language | TypeScript | TypeScript | Dart |
| Drop-in UI | <ArgideWidget /> | <ArgideWidget /> | ArgideWidget |
| State | useChat() hook | useChat() hook | ArgideChatNotifier |
| Storage | localStorage | AsyncStorage adapter | SharedPreferences (built-in) |
| Provider | <ArgideProvider> | <ArgideProvider> | ArgideScope |
Identity Verification
Generate JWT tokens on your backend
Client-Side Tools
Register tools the agent can call
Embed Widget
Web widget installation guide
