permission_config 0.0.2
permission_config: ^0.0.2 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_configUse it
The package has the following executables:
$ permission_config
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add permission_configThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
permission_config: ^0.0.2Alternatively, your editor might support dart 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';