behavior property

HitTestBehavior behavior
final

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

Defaults to HitTestBehavior.deferToChild.

See HitTestBehavior for the allowed values and their meanings.

Implementation

final HitTestBehavior behavior;