permission_handler library Null safety

Functions

getAllPermissions(List<Permission> permissions, String? text, {bool showAlert = true, Function? alert, GestureTapCallback? cancelTap}) Future<bool>
必须获取通过全部权限 You must obtain all permissions
getPermission(Permission permission, String? text, {bool showAlert = true, Function? alert, GestureTapCallback? cancelTap}) Future<bool>
单独获取一个权限 Get a separate permission