dependencies/plugin/permission_handler library
Classes
Functions
-
getPermission(
Permission permission, {required String alert, GestureTapCallback? cancelTap}) → Future< bool> - 单独获取一个权限
-
getPermissions(
List< Permission> permissions, {required String alert, GestureTapCallback? cancelTap}) → Future<bool> - 必须获取通过全部权限