Flutter: How do I listen to permissions real time
问题 I am working on an app in which I want to continuously listen to location and battery permissions. Sample scenario: The user opens the app Grants permission access Goes to settings and revokes the permissions Opens the app again The app displays a snackbar that informs the user that permission has been revoked. I am a beginner and I am using the flutter-permissions-handler and the piece of code below shows my usage. _listenForLocationPermission() { Future<PermissionStatus> status =