Technically having the menu’s head be a button (not the whole menu) and using OnPressed
and OnRelease
should be fine. It’s slightly different from it’s basic use case, but I don’t feel it strays far enough to be a bad implementation unless you need extra functionality than just opening it like a spoiler.