good_scanner_overlay 0.0.2
good_scanner_overlay: ^0.0.2 copied to clipboard
Scanner overlay with simple animation
Good Scanner Overlay #
QR Scanner overlay with animation to be used with a stack widget.
Preview #

Installation #
In the pubspec.yaml of your flutter project, add the following dependency:
dependencies:
...
good_scanner_overlay: ^0.0.1
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(),
],
),
);
}
}