Releases: AhmedLSayed9/dropdown_button2
Releases · AhmedLSayed9/dropdown_button2
dropdown_button2-v3.0.0-beta.9
- Update DropdownItem to respect intrinsicHeight.
- Update added menu padding to include button icon.
dropdown_button2-v3.0.0-beta.2
- Add border radius parameter for menu item.
dropdown_button2-v3.0.0-beta.1
- Fix formatting.
dropdown_button2-v3.0.0-beta.0
-
BREAKING: Replaces DropdownMenuItem with DropdownItem to provide extra functionality.
Instead of:
items: items.map((String item) => DropdownMenuItem<String>(...)).toList(),
do:
items: items.map((String item) => DropdownItem<String>(...)).toList(),
-
Add
closeOnTap
property to DropdownItem. It controls whether the dropdown should close when the item is tapped. -
BREAKING: Support setting different heights for items.
Instead of:
items: items .map((String item) => DropdownItem<String>( value: item, child: Text(item), )) .toList(), menuItemStyleData: const MenuItemStyleData( height: 40, ),
do:
items: items .map((String item) => DropdownItem<String>( value: item, height: 40, child: Text(item), )) .toList(),
-
Support adding separator widget internally, closes #134.
-
Update highlight behavior, closes #184.
dropdown_button2-v2.3.9
- Use melos to separate package golden tests, closes #176.
v2.3.8
- Use null-aware operators for thumbVisibility and thickness.
v2.3.7
- Remove deprecated isAlwaysShown member.
v2.3.6
- Remove unnecessary packages from
dependencies
.
v2.3.5
- Fix ScrollBar theming.