PermUtil class

权限申请相关方法

Constructors

PermUtil()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

cameraPerm() → Future<bool>
相册权限申请
initPermissions() → Future<void>
基础权限申请
notificationPerm() → Future<bool>
相册权限申请
storagePerm() → Future<bool>
存储权限申请