onLocationChanged property

Stream<LocationData> onLocationChanged

Returns a stream of LocationData objects. Throws an error if the app has no permission to access location.

Implementation

Stream<location.LocationData> get onLocationChanged =>
    locationManager.onLocationChanged;