z_permission_handler 0.0.3
z_permission_handler: ^0.0.3 copied to clipboard
一个用于轻松管理和请求应用权限的 Flutter 插件。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add z_permission_handlerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
z_permission_handler: ^0.0.3Alternatively, 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:z_permission_handler/z_permission_handler.dart';