FilamentWidgetBuilder typedef

FilamentWidgetBuilder = Widget? Function(BuildContext context, FilamentWidgetScope scope)

Builds an application-owned widget for a package-owned screen.

Returning null hides this registration for the current scope. That makes one registry usable across a whole PanelShell, while a builder can still target a particular resource, record, or dashboard widget.

Implementation

typedef FilamentWidgetBuilder =
    Widget? Function(BuildContext context, FilamentWidgetScope scope);