hasOverlayPermission method
Check if draw over other apps (overlay) permission is granted or not.
Returns true
if the permission is granted, false
otherwise.
In Android versions prior to Android 6.0 (M)
, this method will always return true
.
Implementation
Future<bool> hasOverlayPermission() {
return DashBubblePlatform.instance.hasOverlayPermission();
}