FilamentWidgetRegistry class
Ordered registry of application-owned widgets inserted into named slots.
A registry can be shared by every screen through PanelShell.widgetRegistry or passed to an individual screen. Multiple builders registered for the same slot render in registration order.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
FilamentWidgetSlot slot, BuildContext context, FilamentWidgetScope scope) → List< Widget> - Builds a snapshot so a builder may safely update the registry for the next frame without mutating the list currently being traversed.
-
clear(
[FilamentWidgetSlot? slot]) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
FilamentWidgetSlot slot, FilamentWidgetBuilder builder) → void -
Registers a context-aware widget builder for
slot. -
registerWidget(
FilamentWidgetSlot slot, Widget widget) → void - Convenience for a fixed widget that does not need its screen scope.
-
toString(
) → String -
A string representation of this object.
inherited
-
unregister(
FilamentWidgetSlot slot, FilamentWidgetBuilder builder) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited