new_geolocation 0.2.3 copy "new_geolocation: ^0.2.3" to clipboard
new_geolocation: ^0.2.3 copied to clipboard

outdated

Republished and maintained Geolocation plugin, originally from Loup Inc. for iOS and Android. This plugin handles location services and can be used to get permission and retreive location of device.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add new_geolocation

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  new_geolocation: ^0.2.3

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:new_geolocation/channel/codec.dart';
import 'package:new_geolocation/channel/helper.dart';
import 'package:new_geolocation/channel/location_channel.dart';
import 'package:new_geolocation/channel/param.dart';
import 'package:new_geolocation/data/location.dart';
import 'package:new_geolocation/data/location_result.dart';
import 'package:new_geolocation/data/permission.dart';
import 'package:new_geolocation/data/result.dart';
import 'package:new_geolocation/facet_android/location.dart';
import 'package:new_geolocation/facet_android/permission.dart';
import 'package:new_geolocation/facet_android/result.dart';
import 'package:new_geolocation/facet_ios/location.dart';
import 'package:new_geolocation/facet_ios/permission.dart';
import 'package:new_geolocation/geolocation.dart';
4
likes
30
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

Republished and maintained Geolocation plugin, originally from Loup Inc. for iOS and Android. This plugin handles location services and can be used to get permission and retreive location of device.

License

Apache-2.0 (license)

Dependencies

flutter, streams_channel

More

Packages that depend on new_geolocation

Packages that implement new_geolocation