- Avoid overlapping menu items with keyboard when using searchable dropdown.
- Add dropdownButtonKey parameter to DropdownButtonFormField2, it allows accessing DropdownButton2State.
- Update README.
- Adapt to max items width when buttonWidth & dropdownWidth is null.
- Prevent dropdownWidth to exceed max screen width.
- Add dropdownDirection parameter, it controls the direction of the dropdown menu in relation to the button.
- Update README.
- Add buttonOverlayColor parameter, It changes the overlay color of the button's InkWell.
- Update README.
- Update README.
- Add buttonSplashColor parameter, It changes the splash color of the button's InkWell. close #79, #89.
- Add buttonHighlightColor parameter, It changes the highlight color of the button's InkWell. close #79, #89.
- Add itemSplashColor parameter, It changes the splash color of the item's InkWell. close #79, #89.
- Add itemHighlightColor parameter, It changes the highlight color of the item's InkWell. close #79, #89.
- Fix typo in clampDouble method call, fixes #88.
- Fix Dropdown menu dx offset range, fixes #86.
- Fix the ability to increase dy offset for some cases, fixes #85.
- define clampDouble within DropdownButton2 library.
- Add dropdownScrollPadding parameter, it add padding to the dropdown menu including the scrollbar.
- Update README.
- Remove customItemsIndexes and customItemsHeight parameters.
- Add customItemsHeights parameter, it uses different predefined heights for the menu items. close #71.
- Switched to a double variant of clamp to avoid boxing (Flutter Dropdown Update).
- Replace empty Container with const SizedBox (Flutter Dropdown Update).
- Update README.
- Fix DropdownButtonFormField ripple effect offset to top by 1px, fixes #65.
- Fix DropdownButtonFormField InkWell spreads to error message, fixes #56.
- Prevent Selected item from rendering before rest of the list items, fixes #57.
- Update DropdownButton menu clip (Flutter Dropdown Update).
- Fix hint alignment when selectedItemBuilder is non-null (Flutter Dropdown Update).
- Modify calculation of dense button height when text scale is large (Flutter Dropdown Update).
- Updating PrimaryScrollController for Desktop, fixes #49.
- Fix DropdownButton inkwell border radius. fixes #53, fixes #54.
- Fix openWithLongPress functionality. close #46.
- Use buttonDecoration's boxShadow value (if exists) for button's decoration, otherwise use buttonElevation.
- Fix #39.
- Update README.
- Add searching feature:
- searchController parameter, The TextEditingController used for searchable dropdowns. If null, then it'll perform as a normal dropdown without searching feature.
- searchInnerWidget parameter, The widget to be shown at the top of the dropdown menu for searchable dropdowns, such as search bar.
- searchMatchFn parameter, The match function used for searchable dropdowns, if null _defaultSearchMatchFn will be used.
- Improve selectedItemOffset to get accurate scrollOffset when dropdown padding is set.
- Update README.
- Add barrierDismissible parameter, you can prevent dismissing the menu by tapping the modal barrier.
- Add barrierColor parameter, you can change the color of the modal barrier (default is transparent). close #35.
- Add barrierLabel parameter, you can set the semantic label used for a dismissible barrier.
- Update README.
- Allow opening the button programmatically using GlobalKey. close #33.
- Use PlatformDispatcher.instance over window.
- Use super parameters lint.
- Add Multiselect Dropdown with Checkboxes Example.
- Update README.
- Flutter 3.0.0 upgrade.
- Update README.
- Remove onTap parameter.
- Remove onMenuClose parameter.
- Add onMenuStateChange parameter, It's called when the dropdown menu is opened or closed. close #24.
- Update README.
- Prevent scrollbar and ripple effect from going beyond the menu rounded border boundaries when scrolling. fix #21.
- Update docs & README.
- Update docs & README.
- Add dropdownFullScreen parameter, if true, menu will open in fullscreen mode (Above AppBar & TabBar). close #20.
- Update README.
- Add selectedItemHighlightColor parameter, It specifies highlight color of the current selected item.
- Update README.
- Add onMenuClose parameter, It calls a function when the dropdown menu is closed.
- Update README.
- Fix tappable area for DropdownButtonFormField & add InkWell to DropdownButton [Flutter Dropdown Update].
- Inline casts on Element.widget getter to improve web performance [Flutter Dropdown Update].
- Fix DropdownButtonFormField loses highlight when menu opens and stays highlighted after menu closes.
- Add iconOnClick parameter, It toggles different icon when dropdown menu open, close #12.
- Update README.
- Prevent first item to be highlighted when there's no item selected on web and desktop mode (when FocusHighlightMode is set to traditional).
- Prevent button's color to change to focusColor when selecting items on web and desktop mode (when FocusHighlightMode is set to traditional).
- Rename itemWidth to dropdownWidth for clearness.
- Prevent items from going beyond the menu rounded border boundaries when scrolling.
- Remove borderRadius from first and last item of the dropdown menu.
- Change List.from to List.of "Dart lint".
- Update README.
- BoxShadow can now be added to dropdownDecoration, and if so, it will be used instead of dropdownElevation.
- Update README
- Change some parameters names to be more clear.
- Add dropdown decoration as BoxDecoration parameter.
- Add Options table to README.
- Add "How to use DropdownButton2 with dividers" to README Examples.
- Add "How to use DropdownButtonFormField2 with Form" to README Examples.
- Update README
- initRelease