live_location 1.0.1 live_location: ^1.0.1 copied to clipboard
A Live location flutter plugin that fetches the user's live location.
Live location #
A Flutter plugin for detects location on Android devices.
Installation #
Add live_location
as a dependency in your pubspec.yaml file.
Usage #
/// Method to get the Live Location.
LatLongPosition position = await LiveLocation.getLatLong;
Using Stream.
// When you get the location for the first time, The location will be NULL.
// Stream Broadcast the Location every 15 seconds using LiveLocation.getLatLong;
LiveLocation.start(your_input);
License #
This plugin is open source project and the license is GNU GENERAL PUBLIC LICENSE.