consumeOutsideTaps property

bool consumeOutsideTaps
final

If true, then the group that this region belongs to will stop the propagation of the tap down event in the gesture arena.

This is useful if you want to block the tap down from being given to a GestureDetector when onTapOutside is called.

If other TapRegions with the same groupId have consumeOutsideTaps set to false, but this one is true, then this one will take precedence, and the event will be consumed.

Defaults to false.

Implementation

final bool consumeOutsideTaps;