behavior property

OutsideHitTestBehavior? behavior
final

How this gesture detector should behave during hit testing when deciding how the hit test propagates to children and whether to consider targets behind this one.

This defaults to OutsideHitTestBehavior.deferToChild if child is not null and OutsideHitTestBehavior.translucent if child is null.

See OutsideHitTestBehavior for the allowed values and their meanings.

Implementation

final OutsideHitTestBehavior? behavior;