Closed WieFel closed 3 years ago
Hey @WieFel ! Thank you for your proposal.
Can you please check the PR #16 and confirm to me that it meets your expectations ;)
@huextrat exactly! Thank you very much! ;)
I will try to deliver a 1.3.0 with this change during the day ;)
Is your feature request related to a problem? Please describe. When I set the
MenuButton
'sdecoration
todecoration: BoxDecoration(color: Colors.white)
the ripple effect when clicking an items is not showing. This happens because of this well-known fact. The color of the decoration covers the underlyingInkWell
. When setting no color on thedecoration
, the items are translucent but the ripple effect does show. Here is a screenshot of how that looks:Describe the solution you'd like A simple
color
property for the drop-down items that is applied to the parent of theInkWell
could solve the problem. E.g. adding a propertyitemBackground
toMenuButton
, then pass it fromMenuButton
to_MenuItem<T>
and then within_MenuItem<T>
do:Describe alternatives you've considered As described above, omitting decoration color, which didn't help.