Skip to content

Commit

Permalink
white title not working
Browse files Browse the repository at this point in the history
  • Loading branch information
tanav-kambhampati committed Jan 5, 2024
1 parent 5468893 commit cdc9dea
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
20 changes: 10 additions & 10 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions lib/ui/BarcodeResultPage.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:OptixToolkit/services/database.dart';
import 'package:google_fonts/google_fonts.dart';

class BarcodeResultPage extends StatelessWidget {
final String barcodeValue;
Expand All @@ -12,13 +13,13 @@ class BarcodeResultPage extends StatelessWidget {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Center(
child: Text(
'Barcode Result',
style: TextStyle(fontSize: 30, fontWeight: FontWeight.w800, color: Color.fromARGB(255, 255, 255, 255)),
),
centerTitle: true,
title: Text(
"BARCODE RESULT",
style: GoogleFonts.rubik(fontWeight: FontWeight.bold),
textAlign: TextAlign.center,
),
backgroundColor: Colors.blue,
backgroundColor: Color(0xff159deb),
),
body: Container(
color: Color.fromARGB(255, 51, 44, 44), // Not sure if this is the right shade of gray
Expand Down

0 comments on commit cdc9dea

Please sign in to comment.