behavior property

HitTestBehavior? behavior
final

How this gesture detector should behave during hit testing.

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

Implementation

final HitTestBehavior? behavior;