From 82a5a5c9bc94327b0ad49d51f5c31d59deb44aca Mon Sep 17 00:00:00 2001 From: "hanie.khodkari" Date: Sun, 16 Mar 2025 19:45:08 +0330 Subject: [PATCH] Arrange home select boxes --- lib/pages/home_screen.dart | 81 ++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 39 deletions(-) diff --git a/lib/pages/home_screen.dart b/lib/pages/home_screen.dart index 4ef32c1..fce7713 100755 --- a/lib/pages/home_screen.dart +++ b/lib/pages/home_screen.dart @@ -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( - 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( - 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( + 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( + builder: (ctx, auth, _) { + return TestVerifyScreen(); + }, + ); + }, + ), + ), + ), + // Divider(height: 2), BarcodeSelectionItem(), ], ),