Update pages

This commit is contained in:
Patrick Alvin Alcala 2025-12-11 15:29:44 +08:00
parent 3709e06ed6
commit 4a522a38d9
2 changed files with 58 additions and 15 deletions

View file

@ -43,11 +43,20 @@ class _BarcodeScannerScreenState extends State<BarcodeScannerScreen> {
),
child: Center(
child: Padding(
padding: const EdgeInsets.only(top: 64, left: 16, right: 16),
padding: const EdgeInsets.only(top: 88, left: 16, right: 16),
child: Column(
children: [
Expanded(
flex: 2,
Container(
padding: EdgeInsets.only(top: 8, bottom: 8, left: 20, right: 20),
decoration: BoxDecoration(
color: Color.fromARGB(149, 16, 22, 28),
borderRadius: BorderRadius.circular(8),
),
child: TextWidget(text: 'Scan OCBO e-Sign QR Code', size: 14, bold: true),
),
Gap(50),
SizedBox(
height: 350,
child: ClipRRect(
borderRadius: BorderRadius.circular(20), // Adjust the radius as needed
child: MobileScanner(
@ -63,15 +72,6 @@ class _BarcodeScannerScreenState extends State<BarcodeScannerScreen> {
),
),
),
Expanded(
flex: 2,
child: Column(
children: [
Gap(20),
TextWidget(text: 'Scan OCBO e-Sign QR', size: 20, bold: true),
],
),
),
],
),
),