Updating Firestore Document Boolean value from ListTile Flutter

I am developing an app that allows users to check kit within bags on vehicles at their base station. I so far have the app working so that it takes the user information at log in, and shows the bags available at their particular station, in this case ‘Test Station’. I can successfully show a… Read More Updating Firestore Document Boolean value from ListTile Flutter

How can I update my get function when stream changes state?

I am using flutter_blue_plus for getting bluetooth is on or off. I am getting results in log successfully. But in isOn function, I can’t update automatically. What can I do? Do I have to use StreamBuilder in UI? class BluetoothService with Logger { BluetoothService() { log.fine(‘listening to bluetooth status changes’); FlutterBluePlus.instance.state.listen((result) { log.fine(‘bluetooth state changed… Read More How can I update my get function when stream changes state?