PermissionReq constructor

const PermissionReq(
  1. List<Permission> permissions, {
  2. bool isNeedTipDialog = true,
  3. OnGranted? onGranted,
  4. OnDenied? onDenied,
  5. String? title,
  6. String? content,
  7. String? permissionPermanentlyDeniedDesc = "当前申请的权限被永久拒绝或多次拒绝,需要您手动开启",
})

Implementation

const PermissionReq(this.permissions,
    {this.isNeedTipDialog = true,
    this.onGranted,
    this.onDenied,
    this.title,
    this.content,
    this.permissionPermanentlyDeniedDesc = "当前申请的权限被永久拒绝或多次拒绝,需要您手动开启"});