Skip to main content

widget_review 0.1.0 copy "widget_review: ^0.1.0" to clipboard
widget_review: ^0.1.0 copied to clipboard

Visual code review for Flutter. Tap any widget in your running app, leave a comment, and your AI agent reads it live over MCP.

example/main.dart

// Minimal setup. A fuller demo app lives in the repository's example/ folder.
//
// Run with:
//   flutter run --vmservice-out-file=.dart_tool/widget_review/vm_service_uri
// then connect your AI agent through the widget_review_mcp server.
import 'package:flutter/material.dart';
import 'package:widget_review/widget_review.dart';

void main() {
  // Active in debug builds only; in release builds WidgetReview just returns
  // your app.
  runApp(const WidgetReview(child: MyApp()));
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Widget Review')),
        body: Center(
          child: FilledButton(
            // Keys make reviews on a widget survive refactors.
            key: const ValueKey('checkout'),
            onPressed: () {},
            child: const Text('Checkout'),
          ),
        ),
      ),
    );
  }
}
1
likes
160
points
375
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Visual code review for Flutter. Tap any widget in your running app, leave a comment, and your AI agent reads it live over MCP.

Repository (GitHub)
View/report issues
Contributing

Topics

#devtools #mcp #ai #code-review #debugging

License

MIT (license)

Dependencies

flutter, image_picker, lucide_icons_flutter, pasteboard, path_provider

More

Packages that depend on widget_review