BuoyToolModalBuilder typedef
BuoyToolModalBuilder =
Widget Function(BuildContext context, BuoyStorage storage, VoidCallback onClose, VoidCallback onMinimize)
Builds a tool's own modal surface (a JsModal). Rendered directly in the
BuoyDevTools stack — the tool positions itself and calls onClose to
destroy it or onMinimize to hand it to the host's minimized dock (which
re-opens it, restoring geometry from persistence).
Implementation
typedef BuoyToolModalBuilder =
Widget Function(
BuildContext context,
BuoyStorage storage,
VoidCallback onClose,
VoidCallback onMinimize,
);