This commit is contained in:
Cookiues committed 2026-05-28 22:11:05 +08:00
commit a78a87e46b
154 files changed
+9387

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import 'package:flutter/services.dart';
const _channel = MethodChannel('com.ichino/qr_scanner');
Future<String?> decodeQRFromBytes(Uint8List bytes) async {
try {
final result = await _channel.invokeMethod<String>('decodeQRFromBytes', bytes);
return result;
} on PlatformException {
return null;
}
}