Skip to content

Commit c069a49

Browse files
author
Salim Lachdhaf
committed
fix lint issues
1 parent e7f1b04 commit c069a49

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [6.0.2] - 2025.01.16
2+
* Fix lint errors
3+
14
## [6.0.1] - 2024.09.21
25
* #### New Feature:
36
* add `Semantics` to searchBox to support voiceOver/TalkBack ...

lib/dropdown_search.dart

+6-2
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,9 @@ class DropdownSearchState<T> extends State<DropdownSearch<T>> {
497497
dropdownButtonPressed() => _selectSearchMode();
498498

499499
if (!widget.suffixProps.dropdownButtonProps.isVisible &&
500-
!widget.suffixProps.clearButtonProps.isVisible) return null;
500+
!widget.suffixProps.clearButtonProps.isVisible) {
501+
return null;
502+
}
501503

502504
return Row(
503505
textDirection: TextDirection.ltr,
@@ -751,7 +753,9 @@ class DropdownSearchState<T> extends State<DropdownSearch<T>> {
751753
if (await widget.onBeforePopupOpening!(getSelectedItem) == false) return;
752754
} else if (widget.onBeforePopupOpeningMultiSelection != null) {
753755
if (await widget.onBeforePopupOpeningMultiSelection!(getSelectedItems) ==
754-
false) return;
756+
false) {
757+
return;
758+
}
755759
}
756760

757761
_handleFocus(true);

pubspec.yaml

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: dropdown_search
22
description: Simple and reactive Searchable Dropdown with item search feature, making it possible to use an sync/async item for easy customization.
3-
version: 6.0.1
3+
version: 6.0.2
44
homepage: https://github.com/salim-lachdhaf
5-
git: https://github.com/salim-lachdhaf/searchable_dropdown
6-
repository: https://github.com/salim-lachdhaf/searchable_dropdown
5+
git: https://github.com/salim-lachdhaf/dropdown_search
6+
repository: https://github.com/salim-lachdhaf/dropdown_search
77

88
environment:
99
sdk: ">=2.17.0 <4.0.0"
@@ -16,4 +16,11 @@ dependencies:
1616
dev_dependencies:
1717
flutter_test:
1818
sdk: flutter
19-
lints: ^4.0.0
19+
lints: ^5.1.1
20+
21+
topics:
22+
- dropdown
23+
- autocomplete
24+
- form
25+
- material
26+
- popups

0 commit comments

Comments
 (0)