EasyPermissionValidator class Null safety

Constructors

EasyPermissionValidator({required BuildContext context, required String appName, Widget? customDialog, Color? appNameColor, String? cancelText, String? enableLocationMessage, String? goToSettingsText, String? permissionSettingsMessage})
Caution: Some permissions must be in the privacy policy

Properties

appName String
App title to show in the standard popup
read / write
appNameColor Color?
App title Color to show in the standard popup
read / write
cancelText String?
Optional in case you need to use other languages
read / write
context BuildContext
read / write
customDialog Widget?
You can change the standard popup if you need
read / write
enableLocationMessage String?
Optional in case you need to use other languages
read / write
goToSettingsText String?
Optional in case you need to use other languages
read / write
hashCode int
The hash code for this object.
read-onlyinherited
permissionSettingsMessage String?
Optional in case you need to use other languages
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

accessNotificationPolicy() Future<bool>
activityRecognition() Future<bool>
appTrackingTransparency() Future<bool>
bluetooth() Future<bool>
bluetoothAdvertise() Future<bool>
bluetoothConnect() Future<bool>
bluetoothScan() Future<bool>
calendar() Future<bool>
camera() Future<bool>
contacts() Future<bool>
criticalAlerts() Future<bool>
ignoreBatteryOptimizations() Future<bool>
location() Future<bool>
The best option for LOCATION request
locationAlways() Future<bool>
locationWhenInUse() Future<bool>
manageExternalStorage() Future<bool>
mediaLibrary() Future<bool>
microphone() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
notification() Future<bool>
phone() Future<bool>
photos() Future<bool>
reminders() Future<bool>
requestInstallPackages() Future<bool>
sensors() Future<bool>
sms() Future<bool>
speech() Future<bool>
storage() Future<bool>
systemAlertWindow() Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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