diff --git a/images/profile_appbar.png b/images/profile_appbar.png new file mode 100644 index 0000000..c79a08d Binary files /dev/null and b/images/profile_appbar.png differ diff --git a/lib/common/dashboard.dart b/lib/common/dashboard.dart index a361ca8..e77df8c 100644 --- a/lib/common/dashboard.dart +++ b/lib/common/dashboard.dart @@ -348,7 +348,8 @@ class _DashboardScreenState extends State { backgroundColor: Colors.white, elevation: 0, scrolledUnderElevation: 0, - title: Text(_currentIndex==2?'Aquinto':_currentIndex==0?'History':_currentIndex==1?'Usage':_currentIndex==3?'Water Levels':'Resources',style: fontTextStyle(14,Color(0XFF2A2A2A),FontWeight.w500),), + titleSpacing: 0, + title: Text('Aquick Supplier',style: fontTextStyle(16,Color(0XFF515253),FontWeight.w600),), iconTheme: IconThemeData(color: Color(0XFF2A2A2A)), actions: [ Row( @@ -379,13 +380,16 @@ class _DashboardScreenState extends State { ) ], leading: IconButton( - icon: Icon(Icons.menu), - onPressed: () { + icon: Image( + image: AssetImage('images/profile_appbar.png'), + height: 20, + width: 20, + ), + onPressed: (){ _scaffoldKey.currentState?.openDrawer(); }, ), ), - drawer: Drawer( width: MediaQuery.of(context).size.width, backgroundColor: Colors.white,