barrierOnTapHint method

  1. @override
String barrierOnTapHint(
  1. String modalRouteContentName
)
override

The onTapHint for the barrier rendered underneath the content of a modal route (especially a sheet) which users can tap to dismiss the content.

In en, this message translates to: 'Close {modalRouteContentName}'

Implementation

@override
String barrierOnTapHint(String modalRouteContentName) => 'Close $modalRouteContentName';