FilterSheet class

The filter sheet's content (P24): every filter node the resource publishes (provider.resource.filters), each rendered through the package's own SelectFieldWidget against the provider's live filter state, plus a "Clear all" action.

A plain content widget, not itself a route — ResourceListScreen decides whether to host it in a showModalBottomSheet (compact) or a showDialog (medium/expanded), and wraps it in the Directionality a sheet/dialog route does not inherit on its own; see that screen's _openFilterSheet.

Reuse, don't re-render: a filter node is a select-shaped SchemaComponent in the existing vocabulary (ResourceListProvider's own seeding doc), so this renders it with SelectFieldWidget rather than writing a second select control.

Inheritance

Constructors

FilterSheet({required ResourceListProvider provider, FilamentStrings strings = const FilamentStrings(), Key? key})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
provider ResourceListProvider
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strings FilamentStrings
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited