Last updated:
0 purchases
location service check
location_service_check #
一个检查定位权限是否开启的服务,支持Android和iOS。
功能比较简单,所以之前一直没有管了。这次更新下nullsafety方便直接使用。
Getting Started #
dependencies:
location_service_check: ^1.0.0
copied to clipboard
How to Use #
import 'package:location_service_check/location_service_check.dart';
void check() {
bool isOpen = await LocationServiceCheck.checkLocationIsOpen;
}
void _openSetting() async {
LocationServiceCheck.openLocationSetting();
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.