smart_permission 0.0.1 copy "smart_permission: ^0.0.1" to clipboard
smart_permission: ^0.0.1 copied to clipboard

Opinionated wrapper around permission_handler: one-line runtime permission requests with adaptive dialogs, per-permission titles/descriptions, theming, analytics, and batch support (Android & iOS).

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add smart_permission

With Flutter:

 $ flutter pub add smart_permission

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  smart_permission: ^0.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:smart_permission/smart_permission.dart';
4
likes
0
points
78
downloads

Publisher

unverified uploader

Weekly Downloads

Opinionated wrapper around permission_handler: one-line runtime permission requests with adaptive dialogs, per-permission titles/descriptions, theming, analytics, and batch support (Android & iOS).

Repository (GitHub)
View/report issues

Topics

#permission #runtime-permissions #permission-handler #adaptive-dialog #app-settings

License

unknown (license)

Dependencies

flutter, permission_handler

More

Packages that depend on smart_permission