buoy_image_overlay 0.3.0 copy "buoy_image_overlay: ^0.3.0" to clipboard
buoy_image_overlay: ^0.3.0 copied to clipboard

Buoy image-overlay tool for Flutter — pin a design mockup over your running app at adjustable opacity for pixel-perfect UI comparison, with drag/resize, flip, and auto-track.

example/lib/main.dart

// Buoy image-overlay tool — wiring:
// 1. registerBuoyImageOverlay() registers the tool + mounts the overlay layer.
// 2. (Optional) wrap widgets in BuoyImageTarget so Component Match can find them.
// 3. BuoyDevTools mounts the in-app menu; open the dial → IMG.
import 'package:buoy_image_overlay/buoy_image_overlay.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

void main() {
  if (kDebugMode) registerBuoyImageOverlay();
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: BuoyImageTarget(
            label: 'Greeting',
            child: const Text('Open the Buoy dial → IMG'),
          ),
        ),
      ),
      builder: (context, child) => BuoyDevTools(
        deviceName: 'My App',
        child: child ?? const SizedBox.shrink(),
      ),
    );
  }
}
0
likes
140
points
91
downloads

Documentation

API reference

Publisher

verified publisherbuoy.gg

Weekly Downloads

Buoy image-overlay tool for Flutter — pin a design mockup over your running app at adjustable opacity for pixel-perfect UI comparison, with drag/resize, flip, and auto-track.

License

unknown (license)

Dependencies

buoy_core, buoy_shared_ui, flutter

More

Packages that depend on buoy_image_overlay