good_scanner_overlay 0.1.2
good_scanner_overlay: ^0.1.2 copied to clipboard
QR Scanner overlay with animation to be used with a stack widget. The animations inspired by Bank Jago QRIS and BRI QRIS
Good Scanner Overlay #
QR Scanner overlay with animation to be used with a stack widget. The animations inspired by Bank Jago QRIS and BRI QRIS. But you can combine the atribut
Preview #
| Simple | Like Jago QRIS | Like BRI QRIS |
|---|---|---|
![]() |
![]() |
![]() |
Installation #
In the pubspec.yaml of your flutter project, add the following dependency:
dependencies:
...
good_scanner_overlay: ^0.1.2
example #
class MyHomePage extends StatefulWidget {
const MyHomePage({super.key, required this.title});
final String title;
@override
State<MyHomePage> createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage>
with SingleTickerProviderStateMixin {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text(widget.title),
),
body: Stack(
children: [
MobileScanner(),
GoodScannerOverlay(
animationColor: Colors.yellow,
borderColor: Colors.blue,
goodScannerAnimation: GoodScannerAnimation.center,
goodScannerOverlayBackground: GoodScannerOverlayBackground.center,
goodScannerBorder: GoodScannerBorder.none,
),
],
),
);
}
}


