Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies:
geolocator: ^6.0.0+4
2. Install it
You can install packages from the command line:
with Flutter:
$ flutter pub get
Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
import 'package:geolocator/geolocator.dart';
'OLD_달려라 > Android' 카테고리의 다른 글
Flutter ] for launching a URL (Supports web, phone, SMS, and email schemes.) (0) | 2020.09.25 |
---|---|
Flutter 강의(비공개) ] 공적 마스크 앱 ... 현재 위치 확인하기 (0) | 2020.09.25 |
Flutter ] ViewModel 만들 때 유용한 library (0) | 2020.09.24 |
Flutter 강의(비공개) ] MVVM Pattern 적용해보기 (0) | 2020.09.24 |
Flutter 강의(비공개) ] 공적 마스크 앱 ... 1차 코드 (0) | 2020.09.24 |
댓글