From a53cbf5a4ea298e6c679235863bb5cbc2013b24d Mon Sep 17 00:00:00 2001 From: Aayush <aap409@usask.ca> Date: Thu, 3 Mar 2022 19:05:14 -0600 Subject: [PATCH] changes --- lib/screens/home_screens/home_screen.dart | 46 ++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/lib/screens/home_screens/home_screen.dart b/lib/screens/home_screens/home_screen.dart index b4e72ac..3412cac 100644 --- a/lib/screens/home_screens/home_screen.dart +++ b/lib/screens/home_screens/home_screen.dart @@ -35,12 +35,56 @@ class HomeScreen extends StatelessWidget { height: 150, decoration: BoxDecoration( image: DecorationImage( + fit: BoxFit.cover, image: NetworkImage( - ''), + 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQi0Xg-k622Sbztlrb-L1o1CAla3zCbVc2lUw&usqp=CAU'), ), color: Colors.red, borderRadius: BorderRadius.circular(10), ), + child: Row( + children: [ + Expanded( + child: Container( + child: Column( + children: [ + Padding( + padding: + const EdgeInsets.only(right: 120, bottom: 10), + child: Container( + height: 40, + width: 100, + decoration: BoxDecoration( + color: Color(0xffd1ad17), + borderRadius: BorderRadius.only( + bottomRight: Radius.circular(50), + bottomLeft: Radius.circular(50), + ), + ), + child: Center( + child: Text( + 'Vegi', + style: TextStyle( + fontSize: 17, + color: Colors.white, + shadows: [ + BoxShadow( + color: Colors.green, + blurRadius: 10, + offset: Offset(3, 3)) + ], + ), + ), + ), + )) + ], + )), + ), + Expanded( + child: Container(), + ), + ], + ), ) ]), )); -- GitLab