Login Register

DropDownButton

Method for closing Menu on DropDownButton

I'm looking for a method for closing a Menu on a DropDownButton. I have conditions in my page that enable/disable the DropDownButton. If the Menu is open and the conditions change to disable the DropDownButton, the menu seems to be stuck and can't be referenced, even if the DropDownButton is enabled again. I'd like a way to close the menu before I disable the DropDownButton, but can't find one in the code or docs.

Any help is appreciated.

Syndicate content