KPermissionUtil class
权限申请工具类
Constructors
- KPermissionUtil()
-
factory
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
-
getAndroidSdkPermissionWithPicture(
) → Future< Permission> - 获取 Android 访问相册的权限
-
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 Properties
- instance → KPermissionUtil
-
no setter
Static Methods
-
askLocationPermissioin(
) → Future< bool> -
askMicrophonePermission(
) → Future< bool> -
askPhotoPermissioin(
BuildContext context) → Future< bool>