ask_bubble_ai 1.3.4
ask_bubble_ai: ^1.3.4 copied to clipboard
A customizable floating AI chat bubble widget for Flutter. Powered by Gemini, with built-in navigation shortcuts, styling, and active session context.
1.3.4 #
- Fixed pub.dev image rendering compatibility by replacing absolute raw GitHub URLs (which fail on private repositories) with a standard Markdown table using relative local package paths (
assets/).
1.3.3 #
- Fixed README screenshots not displaying on pub.dev due to private/moved repository URL paths by changing image paths to local package-relative directories (
assets/).
1.3.2 #
- Added high-quality screenshots to
README.mdto showcase the customizable UI of the floating chat bubble and assistant panel. - Secured example app API key using
String.fromEnvironmentand configured a.envtemplate local configuration (with.gitignorerules).
1.3.1 #
- Added
avatarWidget: Widget?toAskAiHeaderStyle. When set, it fully replaces the default icon inside the circular avatar container, allowing any widget (e.g.Image.asset,Image.network, a logo, or aStackcombining an icon + badge) to be used as the assistant avatar. Falls back toavatarIconwhen not provided.
1.3.0 #
- Gemini streaming responses: Gemini provider now streams tokens in real-time for a live-typing effect inside the chat panel.
- Inline markdown rendering: AI responses now render
**bold**,*italic*, and- bullet listsyntax correctly inside message bubbles. - Message timestamps: Each message bubble shows a
HH:MMtimestamp below it (toggle viashowTimestampsparameter). - Copy to clipboard: Long-press any message bubble to copy its text to the system clipboard.
- Multi-line input: The text input field now expands up to 4 lines for longer messages before scrolling.
- Auto-focus input: The text field is focused automatically when the chat panel opens.
bubbleStyleparameter: NewAskAiBubbleStylemodel lets you customize the floating button's background, icon, label color, border, and border radius.initiallyOpenparameter: Optionally start the widget with the panel already open.showTimestampsparameter: Toggle message timestamp visibility.maxTokensparameter: Configure the maximum response token budget for any provider (Gemini, OpenAI, Claude).- Status indicator: Header subtitle dynamically shows "Thinking…" while a response is in-progress and reverts to "Active" when idle.
- Disabled reset during loading: The reset button is disabled while a response is streaming to prevent state corruption.
- Tooltip on bubble button: Added a tooltip to the floating bubble button for accessibility.
1.2.0 #
- Resolved include warning for
flutter_lintsin the example package analysis configuration. - Added bubble minimization and cancel handle features to the README documentation.
1.1.0 #
- Added capability to minimize the floating bubble button.
- Added close/cancel button to trigger minimization.
- Added widget and unit tests verifying minimization states.
1.0.0 #
- Complete documentation coverage of public API.
- Restructured library entrypoint export.
- Fixed analyzer lints and unnecessary library name warnings.
- Added detailed provider support and widget layout enhancements.
0.0.1 #
- Initial release of
ask_bubble_ai. - Added the floating AI chat bubble widget
AskBubbleAi. - Integrated Google Gemini AI capabilities via the
google_generative_aiSDK. - Supported contextual grounding with custom knowledge base/FAQs document (
brainDocument). - Added session context awareness via user metadata mapping (
userDetails). - Implemented structured
[NAVIGATE:route|text]parsing for in-app page redirection buttons. - Added welcome screen with customizable quick question suggestion chips.
- Built beautiful dark and light mode UI matching premium design standards.