SelectBase<T> mixin

Common interface for select components.

Defines the contract for both single and multi-select widgets, providing properties for popup behavior, styling, and value handling.

Mixin applications

Properties

autoClosePopover bool?
Whether popup auto-closes after selection.
no setter
borderRadius BorderRadiusGeometry?
Border radius of the select trigger.
no setter
canUnselect bool
Whether clicking selected item deselects it.
no setter
constraints BoxConstraints?
Size constraints for the select trigger.
no setter
disableHoverEffect bool
Whether to disable hover effects.
no setter
filled bool
Whether to use filled appearance style.
no setter
focusNode FocusNode?
Focus node for keyboard navigation.
no setter
hashCode int
The hash code for this object.
no setterinherited
itemBuilder SelectValueBuilder<T>
Builder for rendering selected values.
no setter
onChanged ValueChanged<T?>?
Callback when selection changes.
no setter
padding EdgeInsetsGeometry?
Internal padding of the select trigger.
no setter
placeholder Widget?
Placeholder widget shown when nothing is selected.
no setter
popoverAlignment AlignmentGeometry
Alignment of popup relative to trigger.
no setter
popoverAnchorAlignment AlignmentGeometry?
Alignment of anchor point for popup positioning.
no setter
Builder for popup content.
no setter
popupConstraints BoxConstraints?
Size constraints for the popup menu.
no setter
popupWidthConstraint PopoverConstraint
How popup width should relate to trigger width.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showValuePredicate Predicate<T>?
Predicate for showing value in trigger.
no setter
valueSelectionHandler SelectValueSelectionHandler<T>?
Custom selection handler logic.
no setter
valueSelectionPredicate SelectValueSelectionPredicate<T>?
Predicate for testing selection state.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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