barrierOnTapHint property

String? barrierOnTapHint
final

The semantic hint text that informs users what will happen if they tap on the widget. Announced in the format of 'Double tap to ...'.

If the field is null, the default hint will be used, which results in an announcement of 'Double tap to activate'.

See:

  • barrierDismissible, which controls the behavior of the barrier when tapped.
  • ModalBarrier, which uses this field as onTapHint when it has an onTap action.

Implementation

final String? barrierOnTapHint;