import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:permission_handler/permission_handler.dart';
import 'package:provider/provider.dart';
import 'package:toptongpin/app/common/widgets/dialog.dart';
import 'package:toptongpin/app/utils/log_util.dart';
import 'package:toptongpin/app/utils/toast_util.dart';
import '../res/colors.dart';
class Permissions {
static List<String> _names(BuildContext context) {
return <String>[
("日历"),
("相机"),
("联系人"),
("位置"),
'位置权限',
'位置权限',
'媒体资料库',
("麦克风"),
'phone',
("相册"),
("相册"),
'reminders',
'sensors',
'sms',
'
flutter权限
最新推荐文章于 2024-04-19 09:30:46 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)