permission_handler_auto_back 0.0.1
permission_handler_auto_back: ^0.0.1 copied to clipboard
Wraps permission_handler and brings your Flutter app back to the foreground on Android after the user grants a special permission in Settings.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add permission_handler_auto_backThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
permission_handler_auto_back: ^0.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:permission_handler_auto_back/permission_handler_auto_back.dart';