The drop-down criteria filter box supports single selection, multiple selection, and user-defined filtering content.
demo link:flutter web link。
Spinner Box
Simple use
SpinnerBox.rebuilder(
titles: const ['单选条件', '单选条件'],
builder: (notifier) {
return [
SpinnerFilter(
data: _condition1,
onCompleted: (result, name, data) {
notifier.updateName(name);
setState(() {
_result = result;
_condition1 = data;
});
},
).heightPart,
...
];
},
),
Update the title or highlighting of the selected item
notifier.updateName(name);
or
notifier.setHighlight(true)
Libraries
- popup_message
- spinner/route/trans_dialog
- spinner/route/trans_route
- spinner/spinner
- spinner/state
- spinner/theme
- spinner_box
- spinner_filter_notifier/providers/entity
- spinner_filter_notifier/providers/provider
- spinner_filter_notifier/providers/provider_fence
- spinner_filter_notifier/providers/state
- spinner_filter_notifier/spinner_fence
- spinner_filter_notifier/spinner_filter
- spinner_filter_notifier/theme/theme
- spinner_filter_notifier/widgets/asset