Skip to content

A lightweight Flutter package that allows very simple and optimized way to obtain details about the platform on which it is running.

License

Notifications You must be signed in to change notification settings

vicajilau/location_service

Repository files navigation

This lightweight package allows in a very simple and optimized way to obtain details about the platform on which it is running. It's multi-platform, and supports mobile, desktop, and the browser.

Using

LocationService is a module that wraps the Flutter http package to integrate it into other projects.

This returns an encapsulated object for the location called LocationModel.

import 'package:location_service/location_service.dart';

LocationService location = LocationService();
LocationModel userLocation = await location.localizeUserPosition();

About

A lightweight Flutter package that allows very simple and optimized way to obtain details about the platform on which it is running.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages