CarpenterFilterBar class final

Inheritance

Constructors

CarpenterFilterBar({Key? key, required TextEditingController searchController, ValueChanged<String>? onSearchChanged, String searchLabel = 'Поиск', String? searchPlaceholder, FieldAvailability searchAvailability = FieldAvailability.enabled, List<Widget> filterControls = const [], int activeFilterCount = 0, Widget? advancedFilters, bool filtersExpanded = false, ValueChanged<bool>? onFiltersExpandedChanged, String filterToggleLabel = 'Фильтры', List<Widget> activeFilterSummary = const [], String activeFilterLabelBuilder(int count)?, CarpenterActionDescriptor? clearAction, List<CarpenterActionDescriptor> actions = const [], String semanticLabel = 'Фильтры'})
Creates a controlled search and filter toolbar.
const

Properties

actions → List<CarpenterActionDescriptor>
final
activeFilterCount → int
final
activeFilterLabelBuilder → String Function(int count)?
Localizes the active count when no disclosure toggle is present.
final
activeFilterSummary → List<Widget>
Persistent summaries, typically removable condition chips. These remain visible when additional controls are collapsed. The caller owns removal.
final
advancedFilters → Widget?
Additional controls revealed below the toolbar, without an overlay. Values and validation remain owned by the caller when collapsed.
final
clearAction → CarpenterActionDescriptor?
final
filterControls → List<Widget>
final
filtersExpanded → bool
Controlled disclosure state; changing viewport width does not reset it.
final
filterToggleLabel → String
Localized toggle label; the active count is appended when nonzero.
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onFiltersExpandedChanged → ValueChanged<bool>?
Requests disclosure changes. A null callback disables the toggle.
final
onSearchChanged → ValueChanged<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
searchAvailability → FieldAvailability
final
searchController → TextEditingController
final
searchLabel → String
final
searchPlaceholder → String?
final
semanticLabel → String
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