consumeOutsideTap property

bool consumeOutsideTap
final

Whether or not a tap event that closes the menu will be permitted to continue on to the gesture arena.

If false, then tapping outside of a menu when the menu is open will both close the menu, and allow the tap to participate in the gesture arena. If true, then it will only close the menu, and the tap event will be consumed.

Defaults to false.

Implementation

final bool consumeOutsideTap;