- Fix InkWell when radius is applied to decoration
onMenuButtonToggle
is no more required
- More precise API Docs
- Null safety
- Improve documentation
- Tested on Flutter 2.0 it's working on every platform
- Update README to make it clearer
- Fix: add the item background color by default when the list is scrollable and no color is defined in
decoration
property - Fix:
showSelectedItemOnList
is now working as expected - Add animation when
crossTheEdge
is true
-
Add
itemBackgroundColor
&menuButtonBackgroundColor
to enable ripple effect when you press an item It's highly recommended to use them instead of the decoration color. -
showSelectedItemOnList
property instead ofdontShowTheSameItemSelected
and the default value is nowtrue
Fix width when MenuButton is on Expanded widget
MenuButton now display the decoration color everywhere
Breaking change
- Default value of
dontShowTheSameItemSelected
is nowfalse
If you are using it in previous version with its default value please do not forget to add the property totrue
Adjust offset depending on verticalMenuPadding
Add menu button without showing the current item Add a label property if needed
Add crossEdge & edgeMargin configuration Update example
Define scrollPhysics in MenuButton is now available
Add onMenuButtonToggle
callback to find out if menu button is open or not
Fix README.md
First version of menu_button
available
Initial version