I am new to flutter and I am trying to create two apps where one generates a qr code and the other scans the qr code. Generating or scanning is not my issue but I would love to trigger a state change in the generating app only when the scanning app successfully scans the the qr code on the generating app. Any ideas on how to achieve this on flutter?