permission_config 0.0.14
permission_config: ^0.0.14 copied to clipboard
A Flutter CLI plugin that auto-adds Android/iOS permissions and generates permission handler logic.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate permission_config
Use it
The package has the following executables:
$ permission_config
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add permission_config
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
permission_config: ^0.0.14
Alternatively, 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_config/permission_config.dart';