플러터(Flutter)/플러터 패키지(Flutter Package)
geolocator
SuperKid
2020. 3. 19. 15:22
geolocator
[Ko]
위치 정보를 가져오기 위해 geolocator package를 사용.
void getLocation() async {
Position position = await Geolocator()
.getCurrentPosition(desiredAccuracy: LocationAccuracy.high);
[En]
Use geolocator package to get location information.
void getLocation() async {
Position position = await Geolocator()
.getCurrentPosition(desiredAccuracy: LocationAccuracy.high);