We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b69e42e commit 5b170a0Copy full SHA for 5b170a0
1 file changed
packages/devtools_app/lib/src/standalone_ui/ide_shared/property_editor/property_editor_controller.dart
@@ -148,9 +148,11 @@ class PropertyEditorController extends DisposableController
148
@override
149
void filterData(Filter<EditableProperty> filter) {
150
super.filterData(filter);
151
- final filtered = (_editableWidgetData.value?.properties ?? [])
152
- .where((property) => property.matchesQuery(filter.queryFilter.query))
153
- .where((property) => !_filteredOutBySettings(property, filter: filter));
+ final filtered = (_editableWidgetData.value?.properties ?? []).where(
+ (property) =>
+ property.matchesQuery(filter.queryFilter.query) &&
154
+ !_filteredOutBySettings(property, filter: filter),
155
+ );
156
filteredData
157
..clear()
158
..addAll(filtered);
0 commit comments