title: Geolocator().getCurrentPosition vs StreamSubscription<Position> in flutter
body: <p>I am currently using <code>Geolocator().getCurrentPosition</code> to get user current position... but when I am build an app.. I want to calculate the distance between user current location and her/his house (for example)... but since user can move everywhere and stop at some point.. I also want to calculate that new distance... so the route is like this..</p>
  
  <pre><code>Home= A
  user first location= B
  user second location= C (so user move from B to C)
  </code></pre>
  
  <p>I need to know the location from A to B and from A to C
  ...So what I want to ask is..is it enough to use only <code>Geolocator().getCurrentPosition</code> or am I need also use <code>StreamSubscription&lt;Position&gt;</code> to listen for user location changes?
  here is my code...</p>
  
  <pre><code>Geolocator()
            .getCurrentPosition(desiredAccuracy: LocationAccuracy.high)
            .then((Position position) {
          setState(() {
            _first = position;
          });
          _distanceCalculation(_first.latitude, _first.longitude);
        }).catchError((error) {
          print(error);
        });
  </code></pre>
  
  <p>if I need <code>StreamSubscription&lt;Position&gt;</code> to listen for user location changes how the way to apply <code>StreamSubscription&lt;Position&gt;</code> inside my code</p>