add gradiant to home page

merge-requests/922/head
Elham Rababh 4 years ago
parent 6b0e790cd2
commit f97b0bee14

@ -327,10 +327,10 @@ class _HomeScreenState extends State<HomeScreen> {
AppGlobal.appRedColor,Color(0xFFAD3B3B), AppGlobal.appRedColor,Color(0xFFAD3B3B),
]);//AppGlobal.appRedColor; ]);//AppGlobal.appRedColor;
backgroundColors[1] = LinearGradient( backgroundColors[1] = LinearGradient(
begin: Alignment(-1.0, -2.0), begin: Alignment.center,
end: Alignment(1.0, 2.0), end: Alignment.center,
colors: [ colors: [
Color(0xFFC9C9C9),Color(0xFFEDEDED) Color(0xFFC9C9C9),Color(0xFFC9C9C9),
]); ]);
backgroundColors[2] = LinearGradient( backgroundColors[2] = LinearGradient(
begin: Alignment.center, begin: Alignment.center,
@ -344,7 +344,7 @@ class _HomeScreenState extends State<HomeScreen> {
backgroundIconColors[2] = Colors.white10; backgroundIconColors[2] = Colors.white10;
List<Color> textColors = List(3); List<Color> textColors = List(3);
textColors[0] = Colors.white; textColors[0] = Colors.white;
textColors[1] = Colors.black; textColors[1] = Color(0xFF353E47);
textColors[2] = Colors.white; textColors[2] = Colors.white;
List<HomePatientCard> patientCards = List(); List<HomePatientCard> patientCards = List();

Loading…
Cancel
Save