Arrange home select boxes

This commit is contained in:
hanie.khodkari
2025-03-16 19:45:08 +03:30
parent 0cb49cb7d5
commit 82a5a5c9bc
+42 -39
View File
@@ -127,44 +127,6 @@ class HomePage extends StatelessWidget {
),
),
),
SelectionItem(
firstLine: 'TEST RESULTS',
secondLine: 'List, Details & Add a one',
firstLineColor: Colors.black,
secondLineColor: Colors.grey,
backgroundColor: kLightGreyBackground,
onTap: () => Navigator.push(
context,
MaterialPageRoute(
builder: (context) {
return Consumer<Auth>(
builder: (ctx, auth, _) {
return TestResultScreen();
},
);
},
),
),
),
SelectionItem(
firstLine: 'TEST TO VERIFY',
secondLine: 'Verify and reject Test Results',
firstLineColor: Colors.black,
secondLineColor: Colors.grey,
backgroundColor: kLightGreyBackground,
onTap: () => Navigator.push(
context,
MaterialPageRoute(
builder: (context) {
return Consumer<Auth>(
builder: (ctx, auth, _) {
return TestVerifyScreen();
},
);
},
),
),
),
Divider(
height: 2,
),
@@ -288,7 +250,48 @@ class HomePage extends StatelessWidget {
),
),
),
Divider(height: 2),
Divider(
height: 2,
),
SelectionItem(
firstLine: 'TEST RESULTS',
secondLine: 'List, Details & Add a one',
firstLineColor: Colors.black,
secondLineColor: Colors.grey,
backgroundColor: kLightGreyBackground,
onTap: () => Navigator.push(
context,
MaterialPageRoute(
builder: (context) {
return Consumer<Auth>(
builder: (ctx, auth, _) {
return TestResultScreen();
},
);
},
),
),
),
SelectionItem(
firstLine: 'TEST TO VERIFY',
secondLine: 'Verify and reject Test Results',
firstLineColor: Colors.black,
secondLineColor: Colors.grey,
backgroundColor: kLightGreyBackground,
onTap: () => Navigator.push(
context,
MaterialPageRoute(
builder: (context) {
return Consumer<Auth>(
builder: (ctx, auth, _) {
return TestVerifyScreen();
},
);
},
),
),
),
// Divider(height: 2),
BarcodeSelectionItem(),
],
),