Updated pages

This commit is contained in:
Patrick Alvin Alcala 2026-02-23 17:01:57 +08:00
parent 6a565815fc
commit 57ea482f66
3 changed files with 141 additions and 79 deletions

View file

@ -26,8 +26,8 @@ class BarcodeScannerScreen extends StatefulWidget {
}
class _BarcodeScannerScreenState extends State<BarcodeScannerScreen> {
final Color _redColorShade = const Color.fromRGBO(86, 38, 38, 0.2);
final Color _redColor = const Color.fromRGBO(235, 88, 115, 0.8);
final Color _redColorShade = const Color(0x33562626);
final Color _redColor = const Color(0xCCEB5873);
final Color _greenColorShade = const Color.fromRGBO(41, 115, 43, 0.2);
final Color _greenColor = const Color.fromRGBO(76, 206, 81, 0.8);
@ -61,7 +61,7 @@ class _BarcodeScannerScreenState extends State<BarcodeScannerScreen> {
_qrResult = 'invalid';
});
Future.delayed(Duration(seconds: 3), () {
Future.delayed(Duration(seconds: 8), () {
setState(() {
_qrResult = '';
});
@ -74,7 +74,7 @@ class _BarcodeScannerScreenState extends State<BarcodeScannerScreen> {
_scanning = true;
});
final value = "Use OCBO e-Sign Validator - scanid=0918d59e";
final value = "Use OCBO e-Sig Validator - scanid=0918d59e";
if (value.contains('OCBO e-Sign')) {
final qr = value.substring(35);
@ -153,7 +153,7 @@ class _BarcodeScannerScreenState extends State<BarcodeScannerScreen> {
Container(
padding: EdgeInsets.only(top: 8, bottom: 8, left: 20, right: 20),
decoration: BoxDecoration(
color: const Color.fromRGBO(9, 13, 16, 0.725),
color: const Color.fromRGBO(9, 13, 16, 0.722),
borderRadius: BorderRadius.circular(32),
),
child: const TextWidget(text: 'Scan OCBO e-Sign QR Code', size: 14, bold: true),