macos_grants 0.1.1
macos_grants: ^0.1.1 copied to clipboard
macOS privacy grants from Flutter: read Full Disk Access, Accessibility and Screen Recording, and find out whether this copy of your app can hold a grant at all.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add macos_grantsThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
macos_grants: ^0.1.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:macos_grants/macos_grants.dart';