Skip to main content

flutter_genui_mcp 1.4.0 copy "flutter_genui_mcp: ^1.4.0" to clipboard
flutter_genui_mcp: ^1.4.0 copied to clipboard

Dynamic Generative UI (GenUI) widget for Flutter. Connect to LLMs, execute MCP tools, and render dynamic interactive generative UI widgets.

1.4.0 #

  • Synchronized Core Upgrades:
    • Bumped dependencies to dart_mcp_core: ^1.4.0 and flutter_ui_mcp_core: ^1.4.0.
    • Inherited decoupled embedded LLM architecture and lightweight native footprint.

1.3.0 #

  • Simplified UI & Direct-to-Chat Architecture:
    • Default direct-to-chat experience with unified conversation view and interactive empty state.
    • Interactive title and empty-state badges for fast switching between LLM provider/model and Agent tools/mode.
    • Consolidated "Agent & Tools" configuration inside the settings dialog with system prompt, persona presets, and granular tool selection.
  • App Embedding Support & Visibility Controls:
    • Added top bar and UI component visibility parameters to FlutterGenUiMcp / GenuiMcpPlayground:
      • showAppBar: Toggle entire AppBar and navigation drawer for embedding inside custom application layouts.
      • showStatusBadges: Toggle model and active tools status badges in the top bar.
      • showNewChatAction: Toggle New Chat button.
      • showSettingsAction: Toggle Settings action button.
      • showSkillsControls: Toggle Skills Manager and wizard actions.
      • showAssistantStatistics: Toggle Assistant Evals and Benchmark actions.
      • showMemoryArchive: Toggle Episodic Memory Archive action.
      • showToolsCatalog: Toggle Tools Catalog viewer action.
      • showWorkflowActions: Toggle workflow save/load actions.
  • Agent Inspector Visibility Toggle:
    • Added direct toggle button in the top action bar to expand or collapse the side-by-side Agent Inspector panel on desktop and tablet views (showAgentInspector).
  • Markdown Dark Mode Styling:
    • Crisp, high-contrast dark theme markdown styling across codeblocks, lists, and tabular data.
  • Dependencies:
    • Synchronized version 1.3.0 across dart_mcp_core, flutter_ui_mcp, and flutter_ui_mcp_core.

1.2.0 #

  • Embedded On-Device LLM & Mobile UX:
    • Support for dynamic GenUI generation using local on-device .gguf (llama.cpp) models via llamadart.
    • Fullscreen dialog presentation for Settings drawer on mobile devices (isMobile) for optimized touch UX.
    • Streamlined embedded model settings in unified LLM configuration.
    • Upgraded dependencies to dart_mcp_core: ^1.2.0 and flutter_ui_mcp_core: '>=1.2.0 <2.0.0'.
    • Synchronized version 1.2.0 across the Flutter MCP Suite ecosystem.

1.1.7 #

  • Dependencies:
    • Upgraded dependencies to dart_mcp_core: ^1.1.6 and flutter_ui_mcp_core: '>=1.1.7 <2.0.0'.
    • Synchronized version 1.1.7 across the Flutter MCP Suite ecosystem.

1.1.6 #

  • Dependencies:
    • Upgraded dependency to flutter_ui_mcp_core: ^1.1.6.
    • Synchronized version 1.1.6 across the Flutter MCP Suite ecosystem.

1.1.5 #

  • Synchronized release across the Flutter MCP Suite ecosystem.
  • Added support for embedded model discovery and dynamic tool registration.

1.1.4 #

  • Upgraded dependencies:
    • material_ui: ^1.6.0
    • genui: ^0.10.4
  • Upgraded dependencies: dart_mcp_core: ^1.1.4 and flutter_ui_mcp_core: ^1.1.4.
  • Synchronized release across the Flutter MCP Suite ecosystem.

1.1.3 #

  • Upgraded dependencies: dart_mcp_core: ^1.1.3 and flutter_ui_mcp_core: ^1.1.3.
  • Upgraded dartssh2 to ^4.1.0 in examples and shared tools.
  • Synchronized release across the Flutter MCP Suite ecosystem.

1.1.2 #

  • Upgraded dependencies: dart_mcp_core: ^1.1.2 and flutter_ui_mcp_core: ^1.1.2.
  • Synchronized release across the Flutter MCP Suite ecosystem.

1.1.1 #

  • Upgraded dependencies: dart_mcp_core: ^1.1.1 and flutter_ui_mcp_core: ^1.1.1.
  • Synchronized release across the Flutter MCP Suite ecosystem.

1.1.0 #

  • Modernized UI text across GenUI playground and setup screens ("Chat", "AI Agent Studio", clear action headers).
  • Improved structured user action parsing and natural-language prompt formatting in McpGenuiChatController.
  • Added dynamic GenUI Model Size & Capability Matrix in documentation.
  • Upgraded dependencies: dart_mcp_core: ^1.1.0 and flutter_ui_mcp_core: ^1.1.0.

1.0.2 #

  • Updated package documentation and README with correct naming, classes, and GitHub links.
  • Depends on dart_mcp_core: ^1.0.2 and flutter_ui_mcp_core: ^1.0.2.

1.0.1 #

  • Upgraded dependencies: material_ui to ^1.4.0 and file_picker to ^13.1.0.
  • Depends on dart_mcp_core: ^1.0.1 and flutter_ui_mcp_core: ^1.0.1.

1.0.0 #

  • Initial stable production release under the flutter_mcp_suite ecosystem.
  • Rebranded and modernized from genui_mcp_playground.
  • Dynamic Generative UI (GenUI) widget rendering interactive Flutter widgets directly from LLMs and MCP tools.
  • Added FlutterGenUiMcp as preferred class name, with backward-compatible typedef FlutterGenUiMcp = GenuiMcpPlayground;.
  • Depends on dart_mcp_core: ^1.0.0 and flutter_ui_mcp_core: ^1.0.0.

0.4.0 #

  • BREAKING CHANGE - Decoupled Material UI:
    • Migrated from legacy package:flutter/material.dart to standalone package:material_ui/material_ui.dart using the official Flutter migration tool (dart fix --apply --code=migrate_design_widgets).
    • Added dependency on material_ui: ^1.3.0.
    • Upgraded mcp_playground_ui to ^0.4.0.
    • Re-exports material_ui through mcp_playground_ui for streamlined imports.
  • Upgraded file_picker to ^13.0.0.

0.3.5 #

  • GenUI Client-Side Functions Support:
    • Exported ClientFunction, SynchronousClientFunction, ClientFunctionReturnType, ExecutionContext, and BasicFunctions from genui package.
    • Added optional clientFunctions parameter to GenuiMcpPlayground, McpGenuiChatController, and buildGenuiCatalog, allowing client-side functions to be registered directly into the GenUI catalog.
    • Automatically incorporates client-side functions into the GenUI Catalog schema for prompt generation and synchronous client-side execution.

0.3.4 #

  • Replaced PlatformFile.lengthSync() with bytes.length in attachment handling, resolving UNDEFINED_METHOD failures during dependency lower-bound analysis.
  • Upgraded mcp_playground_ui to ^0.3.4.

0.3.3 #

  • WASM & Web Platform Support: Eliminated direct imports of dart:io in favor of defaultTargetPlatform, and upgraded to flutter_ui_mcp_core: ^0.3.3 with conditional exports to ensure full WebAssembly (WASM) compatibility.
  • Dependency Lower Bounds Fix: Fixed nullable type-promotion for file_picker in attachment selection, resolving UNCHECKED_USE_OF_NULLABLE_VALUE errors during pub downgrade analysis.
  • Dependency Upgrades:
    • Upgraded mcp_playground_ui to ^0.3.3.
    • Upgraded genai_primitives to ^0.2.4.
    • Removed unused universal_io dependency.

0.3.2 #

  • Upgraded dependencies:
    • mcp_playground_dart to ^0.3.2
    • mcp_playground_ui to ^0.3.2
    • json_schema_builder to ^0.1.7
  • New Dynamic GenUI Examples:
    • Smart Home & Climate Studio (examples/genui/example_genui_smarthome): Interactive generative UI with thermostat temperature controls, device toggle switches, and live fl_chart energy consumption bar charts.
    • Financial Portfolio & Budget Planner (examples/genui/example_genui_finance): Budgeting companion rendering expense category pie charts (fl_chart), interactive spending sliders, and compound interest projection curves.
    • Data Visualizer & Query Studio (examples/genui/example_genui_data_studio): Executive dashboard generator featuring KPI metric cards with trend indicators, horizontal scrollable data tables, and dynamic time-series charts.

0.3.1 #

  • Declared supported platforms explicitly in pubspec.yaml (Android, iOS, Linux, macOS, Web, Windows).
  • Fixed repository URL in pubspec.yaml to point to GitHub main branch.
  • Broadened file_picker dependency constraint to '>=11.0.3 <13.0.0' to support file_picker 12.0.0+.

0.3.0 #

  • Multimodal File & Attachment Support: User attachments (code files, logs, images) are now passed to the GenUI controller and streamed into multimodal LLM providers.
  • Copy Prompts & Responses: Added copy-to-clipboard buttons with feedback snackbars to all user prompts and assistant message bubbles.
  • New Travel Planner Primary Showcase: Added Travel & Accommodation Planner (example) featuring SerpAPI Google search, interactive form widgets (TravelSearchForm), stay cards (AccommodationGrid), and exportable day-by-day itineraries (TravelItineraryCard) with high-res JPG export.
  • Upgraded mcp_playground_dart to ^0.3.0 and mcp_playground_ui to ^0.3.0.

0.1.0 #

  • Initial standalone release of genui_mcp_playground:
    • Dynamic, generative UI chat interface powered by the genui (A2UI) protocol.
    • GenuiMcpPlayground: Top-level interactive playground shell featuring live conversation surface rendering, setup customization, tool toggling, LLM provider override, and side-by-side AgentInspector.
    • McpGenuiChatController: High-level controller connecting mcp_playground_dart's LLMService tool calling loop with SurfaceController and A2uiTransportAdapter.
    • GenuiChatView: Transcript & surface renderer widget.
    • GenuiCatalogItemDefinition & GenuiCatalogRegistry: Pluggable catalog schema builder for declarative dynamic widgets.
    • Cross-platform support for Windows, macOS, Linux, Web, iOS, and Android.
0
likes
150
points
1.01k
downloads

Documentation

API reference

Publisher

verified publishertealkit.dev

Weekly Downloads

Dynamic Generative UI (GenUI) widget for Flutter. Connect to LLMs, execute MCP tools, and render dynamic interactive generative UI widgets.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

a2ui_core, dart_mcp_core, file_picker, flutter, flutter_markdown_plus, flutter_ui_mcp_core, genai_primitives, genui, json_schema_builder, material_ui, shared_preferences, uuid

More

Packages that depend on flutter_genui_mcp