From 21db2bcc15980a8742ce9de1fe00da281c42c751 Mon Sep 17 00:00:00 2001 From: Kelvin Samuel Date: Fri, 13 May 2022 12:58:11 +0700 Subject: [PATCH] change app bar home screen --- lib/screens/home_screen.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/screens/home_screen.dart b/lib/screens/home_screen.dart index 92ad996..bc5707f 100644 --- a/lib/screens/home_screen.dart +++ b/lib/screens/home_screen.dart @@ -13,7 +13,9 @@ class HomeScreen extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( + backgroundColor: const Color(0xff1b1c1e), appBar: AppBar( + backgroundColor: const Color(0xff212226), leading: IconButton( onPressed: () {}, icon: SvgPicture.asset("assets/icons/menu.svg"), @@ -21,17 +23,17 @@ class HomeScreen extends StatelessWidget { title: Row( mainAxisAlignment: MainAxisAlignment.center, children: [ - SvgPicture.asset("assets/icons/Location.svg"), const SizedBox(width: defaultPadding / 2), Text( - "15/2 New Texas", - style: Theme.of(context).textTheme.bodyText1, + "Nekoya", + style: TextStyle(fontSize: 20.0, color: Colors.white), ), ], ), actions: [ IconButton( icon: SvgPicture.asset("assets/icons/Notification.svg"), + color: Colors.white, onPressed: () {}, ), ], @@ -48,11 +50,11 @@ class HomeScreen extends StatelessWidget { style: Theme.of(context) .textTheme .headline4! - .copyWith(fontWeight: FontWeight.w500, color: Colors.black), + .copyWith(fontWeight: FontWeight.w500, color: Colors.white), ), const Text( "best Outfits for you", - style: TextStyle(fontSize: 18), + style: TextStyle(fontSize: 18, color: Colors.white), ), const Padding( padding: EdgeInsets.symmetric(vertical: defaultPadding),