gps

Getting location data by gps, Support android and iOS.

0.1.1 GitHub

Install

dependencies:
  gps: ^0.1.1 # (latest version)

Usage

import 'package:gps/gps.dart';

void main() async{
  var latlng = await Gps.currentGps();
  print(latlng.lat);
  print(latlng.lng);
}

Get GPS information only once.

LICENSE

MIT

Libraries

gps