dropdown_button2 1.7.1 icon indicating copy to clipboard operation
dropdown_button2: ^1.7.1 copied to clipboard

Flutter's core Dropdown Button widget with steady dropdown menu and many options you can customize to your needs.

1.7.1 #

  • Fix DropdownButtonFormField InkWell spreads to error message, fixes #56.
  • Prevent Selected item from rendering before rest of the list items, fixes #57.

1.7.0 #

  • 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.

1.6.3 #

  • Fix openWithLongPress functionality. close #46.

1.6.2 #

  • Use buttonDecoration's boxShadow value (if exists) for button's decoration, otherwise use buttonElevation.

1.6.1 #

  • Fix #39.
  • Update README.

1.6.0 #

Breaking Changes: #

  • 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.

1.5.3 #

  • 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.

1.5.2 #

  • Allow opening the button programmatically using GlobalKey. close #33.

1.5.1 #

  • Use PlatformDispatcher.instance over window.
  • Use super parameters lint.
  • Add Multiselect Dropdown with Checkboxes Example.
  • Update README.

1.5.0 #

Breaking Changes: #

  • Flutter 3.0.0 upgrade.
  • Update README.

1.4.0 #

Breaking Changes: #

  • Remove onTap parameter.
  • Remove onMenuClose parameter.
  • Add onMenuStateChange parameter, It's called when the dropdown menu is opened or closed. close #24.
  • Update README.

1.3.0 #

  • Prevent scrollbar and ripple effect from going beyond the menu rounded border boundaries when scrolling. fix #21.

1.2.5 #

  • Update docs & README.

1.2.4 #

  • Update docs & README.

1.2.3 #

  • Add dropdownFullScreen parameter, if true, menu will open in fullscreen mode (Above AppBar & TabBar). close #20.
  • Update README.

1.2.2 #

  • Add selectedItemHighlightColor parameter, It specifies highlight color of the current selected item.
  • Update README.

1.2.1 #

  • Add onMenuClose parameter, It calls a function when the dropdown menu is closed.
  • Update README.

1.2.0 #

Breaking Changes: #

  • 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.

1.1.1 #

  • 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).

1.1.0 #

Breaking Changes: #

  • 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.

1.0.7 #

  • BoxShadow can now be added to dropdownDecoration, and if so, it will be used instead of dropdownElevation.

1.0.6 #

  • Update README

1.0.5 #

  • 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.

1.0.2 #

  • Add "How to use DropdownButtonFormField2 with Form" to README Examples.

1.0.1 #

  • Update README

1.0.0 #

  • initRelease
450
likes
130
pub points
99%
popularity

Publisher

unverified uploader

Flutter's core Dropdown Button widget with steady dropdown menu and many options you can customize to your needs.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on dropdown_button2