simple_search_dropdown 4.0.0 simple_search_dropdown: ^4.0.0 copied to clipboard
A dropdown that offers a search bar, multiple and single selections.
[4.0.0] - 2023-12-01. #
- [Breaking] many visual parameters are now inside
SimpleOverlaySettings
andSimpleSearchbarSettings
. Some of them received a new name to better represent what they do. onDeleteItem
andonAddItem
are not required anymore.- Added
sortType
parameter to allow defining how the list of items should be sorted. - The drop list now scrolls to the selected item (if there is one).
- Improved code documentation: many files and variables now have a text explaining a little more about them. Still some are missing and will be added on the future.
- Code cleanup and organization.
- Improved sample.
- Improved consistency between single and multiple search dropdowns.
[3.1.1] - 2023-10-19. #
- Fixed a issue where an incomplete selection in
SearchDropDown
after a search, passed the impression that the selected value changed + addedclearOnClose
parameter toSearchDropDown
. If it's true oraddMode
=false
, after the user closes the overlay without selecting an option and nothing was previously selected, the textfield will be cleared. 18 - Fixed an older incorrect implementation of
SearchDropDown
.
[3.0.0] - 2023-10-12. #
- Made
addMode
anddeleteMode
true by default. - [Breaking] Added new parameter
newValueItem
to define how the text on the input transforms to aValueItem
of typeT
. - [Breaking]
ValueItem
now has a type. - Improved sample to show the usage with custom classes.
[2.3.0] - 2023-10-12. #
- Added
verifyInputItem
property to single and multiple search widgets. It allows the dev to check if the item added is valid based on some rule. - Added
verifyDialogSettings
property to allow customizing the dialog that pops up after the user inserts some invalid value. To change the button on the dialog, use thecustomVerifyButtonSettings
property.
[2.2.1] - 2023-10-10. #
- Mini fix in single search widget if the list is empty.
[2.2.0] - 2023-10-06. #
- Fixed a issue where the dropdown didn't follow the textfield when the keyboard is open. 5
- Mini visual improvements.
[2.0.0] - 2023-10-04. #
- Added
confirmDelete
property to single and multiple search widgets. It allows the dev to confirm the action before deleting the row. - Added
deleteDialogSettings
property to allow customizing the delete confirmation dialog. - Remake of the overlay handling system to improve the code.
- (breaking) Renamed
clearSelection
toresetSelection
. - Fixed typo in single search
listItems
property.
[1.8.2] - 2023-09-16. #
- Added
miniBoxIconColor
property to multiple search widget. It allows the dev to set inside mini boxes icons color. - Added
padding
property to single and multiple search widgets. It allows the dev to set inside drop items padding. - Added
separatorHeight
property to single and multiple search widgets. It allows the dev to set a size between to items inside the drop.
[1.8.1] - 2023-08-27. #
- Added
outsideIconColor
property to single and multiple search widgets. It allows the dev to set a color to the dropdown arrow. - Added
outsideIconSize
property to single search widget. It allows the dev to set a size to the dropdown arrow.
[1.8.0] - 2023-08-27. #
- Added
selectedItem
property to single search widget. It allows the dev to set an initial value to the dropdown.
[1.7.0] - 2023-08-27. #
- Added
clearSelection()
function on multiple and single search widgets. It allows the dev to reset the dropdown to the initial state. - Improved sample.
- Improved readme.
[1.6.0] - 2023-08-27. #
- Made
onAddItem
parameter arequired
one. - Mini fix on searchbar Height
[1.5.0] - 2023-08-03. #
- Convert
List<String>
toList<ValueItem>
, allowing the devs to have anything as an object on the dropdown.
[1.0.5] - 2023-08-02. #
- Fix clearing single search via outside button
- Visual fixes
[1.0.1] - 2023-07-27. #
- Fix multiple elevation
- Option Action Icon
[1.0.0] - 2023-07-26. #
- First release.