sequre_copyproof 0.0.2
sequre_copyproof: ^0.0.2 copied to clipboard
A flutter package for scanning sequre copyproof
Flutter package for scanning sequre copyroof Qrcode
Features #
scan qrcode and sequre canvas and get result whether it is genuine or fake
Getting started #
flutter pub add sequre_copyproof
class ScanPage extends StatefulWidget {
const ScanPage({super.key});
@override
State<ScanPage> createState() => _ScanPageState();
}
class _ScanPageState extends State<ScanPage> {
@override
Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
body: Container(
child: ScanQrCodeMlkit(
endpoint: "__your_backend_copyproof_goes_here__",
title: "Posisikan QR & Copyproof Inner ke dalam Area",
subTitle: "Scanning akan dimulai secara otomatis",
onResult: (String qrcode, ResponseCopyProofDetection result) {
Get.off(() => ScanResult(result: result,qrcode: qrcode,));
},
logs: false,
),
),
),
);
}
}
Usage #
use SequreCopyproof widget on your apps