requestOverlayPermission method
Request permission to draw over other apps (overlay permission).
Returns true
if the permission is granted, false
otherwise.
If the permission is already granted, this method will return true
without asking the user.
In Android versions prior to Android 6.0 (M)
, this method will return true
without asking the user.
Implementation
Future<bool> requestOverlayPermission() {
return DashBubblePlatform.instance.requestOverlayPermission();
}