Skip to main content

genui_mcp_playground 0.3.5 copy "genui_mcp_playground: ^0.3.5" to clipboard
genui_mcp_playground: ^0.3.5 copied to clipboard

discontinuedreplaced by: flutter_genui_mcp

Interactive GenUI AI Agent Playground widget for Flutter. Connect to LLMs, execute MCP tools, and render dynamic interactive generative UI widgets.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'env_loader.dart';
import 'genui_travel_example.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await EnvLoader.load();
  runApp(const GenuiPlaygroundExampleApp());
}

class GenuiPlaygroundExampleApp extends StatelessWidget {
  const GenuiPlaygroundExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'GenUI Travel & Stay Planner Example',
      debugShowCheckedModeBanner: false,
      themeMode: ThemeMode.system,
      theme: ThemeData(
        useMaterial3: true,
        colorScheme: ColorScheme.fromSeed(
          seedColor: const Color(0xFF0078D4),
          brightness: Brightness.light,
        ),
      ),
      darkTheme: ThemeData(
        useMaterial3: true,
        colorScheme: ColorScheme.fromSeed(
          seedColor: const Color(0xFF2B88D8),
          brightness: Brightness.dark,
        ),
      ),
      home: const GenuiTravelScreen(),
    );
  }
}
0
likes
130
points
263
downloads

Documentation

API reference

Publisher

verified publishertealkit.dev

Weekly Downloads

Interactive GenUI AI Agent Playground widget for Flutter. Connect to LLMs, execute MCP tools, and render dynamic interactive generative UI widgets.

License

MIT (license)

Dependencies

file_picker, flutter, flutter_markdown_plus, genai_primitives, genui, json_schema_builder, mcp_playground_dart, mcp_playground_ui, shared_preferences, uuid

More

Packages that depend on genui_mcp_playground