shouldShowRequestRationale property

Future<bool> shouldShowRequestRationale

If you should show a rationale for requesting permission.

This is only implemented on Android, calling this on iOS always returns false.

Implementation

Future<bool> get shouldShowRequestRationale async {
  if (defaultTargetPlatform != TargetPlatform.android) {
    return false;
  }

  return _handler.shouldShowRequestPermissionRationale(this);
}