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

outdated

Geolocation plugin for iOS and Android.

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.2

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
0
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

Geolocation plugin for iOS and Android.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, streams_channel

More

Packages that depend on new_geolocation

Packages that implement new_geolocation