currentLocation property

ValueNotifier<FlutterCombainLocation?> currentLocation
getter/setter pair

The current location determined by sdk. This will update after each new scan The value can be used directly with ValueNotifier.value You can either attach a on change listener like this: Example:

 sdk.currentLocation.addListener(nextScanTimeListener);
...
 sdk.currentLocation.removeListener(nextScanTimeListener);

Or you can use ValueListenableBuilder

Implementation

ValueNotifier<FlutterCombainLocation?> currentLocation = ValueNotifier(null);