PermissionHelper class
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
Static Methods
-
buildPermissionDialog(BuildContext context, String title, String tips)
→ CupertinoAlertDialog
-
-
enableLocalAudioAndCheckPermission(BuildContext context, bool on, String title)
→ Future<bool>
-
-
enableLocalVideoAndCheckPermission(BuildContext context, bool on, String title)
→ Future<bool>
-
-
requestPermissionSingle(BuildContext context, Permission permission, String title, String tips, {bool useDialog = true})
→ Future<bool>
-
-
requestSingle(Permission request)
→ Future<bool>
-