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

Buoy unified events timeline for Flutter — one chronological stream aggregating every other Buoy tool's events with source badges, filters, detail views, and MCP export.

example/lib/main.dart

// Buoy unified events timeline — wiring:
// 1. Register the source tools (network/storage/routes) so their event-source
//    adapters populate buoy_shared_ui's registry.
// 2. registerBuoyEvents() registers the aggregator tool + its sync adapter.
// 3. BuoyDevTools (from the `buoy` umbrella) mounts the in-app menu and starts
//    desktop sync. In a real app you'd use the umbrella, which does all of the
//    above for you.
import 'package:buoy_events/buoy_events.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

void main() {
  if (kDebugMode) {
    // In a real app: registerBuoyNetwork(); registerBuoyStorage();
    // registerBuoyRoutes(); (their adapters feed the timeline).
    registerBuoyEvents();
  }
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(child: Text('Buoy events timeline example')),
      ),
    );
  }
}
0
likes
140
points
92
downloads

Documentation

API reference

Publisher

verified publisherbuoy.gg

Weekly Downloads

Buoy unified events timeline for Flutter — one chronological stream aggregating every other Buoy tool's events with source badges, filters, detail views, and MCP export.

License

unknown (license)

Dependencies

buoy_core, buoy_shared_ui, flutter, shared_preferences

More

Packages that depend on buoy_events