add padding to camera scanner info text widget

This commit is contained in:
Adam Velebil 2023-08-30 14:20:15 +02:00
parent d59cb0f9cd
commit eb9056fe9c
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10

View File

@ -44,12 +44,15 @@ class QRScannerUI extends StatelessWidget {
screenSize.height + scannerAreaWidth / 2.0 + 8.0),
width: screenSize.width,
height: screenSize.height),
child: Text(
status != ScanStatus.error
? l10n.l_point_camera_scan
: l10n.l_invalid_qr,
style: const TextStyle(color: Colors.white),
textAlign: TextAlign.center,
child: Padding(
padding: const EdgeInsets.all(4.0),
child: Text(
status != ScanStatus.error
? l10n.l_point_camera_scan
: l10n.l_invalid_qr,
style: const TextStyle(color: Colors.white),
textAlign: TextAlign.center,
),
),
),