Scan a QR code from file. No-op if a scan is already in progress.
file
Future<void> scanFromFile(XFile file) async { await _state?._processPickedFile(file); }