geolocator 1.3.1 copy "geolocator: ^1.3.1" to clipboard
geolocator: ^1.3.1 copied to clipboard

outdated

Geolocation plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API for generic location (GPS etc.) functions.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:geolocator_example/widgets/calculate_distance_widget.dart';
import 'package:geolocator_example/widgets/current_location_widget.dart';
import 'package:geolocator_example/widgets/lookup_address_widget.dart';
import 'package:geolocator_example/widgets/lookup_coordinates_widget.dart';

void main() => runApp(new MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
        home: new Scaffold(
            appBar: new AppBar(
              title: new Text('Plugin example app'),
            ),
            body: new Center(
              child: new Column(
                children: <Widget>[
                  new CurrentLocationWidget(),
                  new Divider(),
                  new LookupAddressWidget(),
                  new Divider(),
                  new LookupCoordinatesWidget(),
                  new Divider(),
                  new CalculateDistanceWidget(),
                ],
              ),
            )));
  }
}
5563
likes
0
pub points
100%
popularity

Publisher

verified publisherbaseflow.com

Geolocation plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API for generic location (GPS etc.) functions.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, meta

More

Packages that depend on geolocator