From f97b0bee141f69828c6d2322602231ef590ed44e Mon Sep 17 00:00:00 2001 From: Elham Rababh Date: Wed, 8 Dec 2021 15:23:54 +0200 Subject: [PATCH] add gradiant to home page --- lib/screens/home/home_screen.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/screens/home/home_screen.dart b/lib/screens/home/home_screen.dart index 1014566f..4e577bb9 100644 --- a/lib/screens/home/home_screen.dart +++ b/lib/screens/home/home_screen.dart @@ -327,10 +327,10 @@ class _HomeScreenState extends State { AppGlobal.appRedColor,Color(0xFFAD3B3B), ]);//AppGlobal.appRedColor; backgroundColors[1] = LinearGradient( - begin: Alignment(-1.0, -2.0), - end: Alignment(1.0, 2.0), + begin: Alignment.center, + end: Alignment.center, colors: [ - Color(0xFFC9C9C9),Color(0xFFEDEDED) + Color(0xFFC9C9C9),Color(0xFFC9C9C9), ]); backgroundColors[2] = LinearGradient( begin: Alignment.center, @@ -344,7 +344,7 @@ class _HomeScreenState extends State { backgroundIconColors[2] = Colors.white10; List textColors = List(3); textColors[0] = Colors.white; - textColors[1] = Colors.black; + textColors[1] = Color(0xFF353E47); textColors[2] = Colors.white; List patientCards = List();