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);

'플러터(Flutter) > 플러터 패키지(Flutter Package)' 카테고리의 다른 글

Admob test device registration  (0) 2020.05.11
Flutter local notification  (0) 2020.03.19
audio player  (0) 2020.03.18
Dart Package  (0) 2020.03.18

+ Recent posts