|
|
|
@ -151,20 +151,6 @@ class _ScannerOverlay extends StatelessWidget {
|
|
|
|
fit: BoxFit.fitHeight,
|
|
|
|
fit: BoxFit.fitHeight,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Positioned(
|
|
|
|
|
|
|
|
bottom: 80, // adjust if needed
|
|
|
|
|
|
|
|
left: 0,
|
|
|
|
|
|
|
|
right: 0,
|
|
|
|
|
|
|
|
child: Center(
|
|
|
|
|
|
|
|
child: Text(
|
|
|
|
|
|
|
|
"Point camera at a QR code to scan",
|
|
|
|
|
|
|
|
style: TextStyle(
|
|
|
|
|
|
|
|
color: Colors.white.withOpacity(0.8),
|
|
|
|
|
|
|
|
fontSize: 16,
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
SafeArea(
|
|
|
|
SafeArea(
|
|
|
|
child: Padding(
|
|
|
|
child: Padding(
|
|
|
|
padding: const EdgeInsets.all(12.0),
|
|
|
|
padding: const EdgeInsets.all(12.0),
|
|
|
|
|