Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
vasilich6107 committed Jan 18, 2021
1 parent bb58b39 commit 7f7eee6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ You can customize the layout of the DropdownSearch and its items. [EXAMPLE](http
|`popupItemDisabled`|defines if an item of the popup is enabled or not, if the item is disabled, it cannot be clicked|
|`popupBarrierColor`|set a custom color for the popup barrier|
|`searchBoxController`|search box controller|
|`clearButtonBuilder`|custom clear button builder|
|`dropdownButtonBuilder`|custom dropdown button builder|
|`onBeforeChange`|callback executed before applying value change|
|`searchDelay`|delay before searching|

# Attention
Expand Down
3 changes: 2 additions & 1 deletion lib/dropdown_search.dart
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,12 @@ class DropdownSearch<T> extends StatefulWidget {
///called when popup is dismissed
final VoidCallback onPopupDismissed;

/// callback executed before applying value change
///delay before searching, change it to Duration(milliseconds: 0)
///if you do not use online search
final Duration searchDelay;

///
/// callback executed before applying value change
final BeforeChange<T> onBeforeChange;

DropdownSearch({
Expand Down

0 comments on commit 7f7eee6

Please sign in to comment.