permission_ns 0.1.7+readmefix-2 permission_ns: ^0.1.7+readmefix-2 copied to clipboard
Getting and requesting permissions on Android and iOS with null safety support
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add permission_ns
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
permission_ns: ^0.1.7+readmefix-2
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_ns/permission_ns.dart';