I need to keep track of the scanning status and I believe that adding methods such as Future<bool> getScanningState() and Stream<bool> observeScanningState() would help me and several other users of this library aswell. The flutter_blue library for example has a similar method (Stream<bool> get isScanning).
I still haven't been able to figure out how to properly wrap a Stream around the scanning state, which would also return the current value automatically when listening to it, and adding such methods to the library could ease the pain a lot, and I believe others would welcome it aswell.
I need to keep track of the scanning status and I believe that adding methods such as
Future<bool> getScanningState()
andStream<bool> observeScanningState()
would help me and several other users of this library aswell. The flutter_blue library for example has a similar method (Stream<bool> get isScanning
).I still haven't been able to figure out how to properly wrap a Stream around the scanning state, which would also return the current value automatically when listening to it, and adding such methods to the library could ease the pain a lot, and I believe others would welcome it aswell.