Skip to content

Commit 3481f24

Browse files
authored
Update profileScreen.dart
1 parent e23d385 commit 3481f24

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/screens/profileScreen.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ class _ProfileScreenState extends State<ProfileScreen> {
8484
appBar: AppBar(
8585
title: Text('Profile'),
8686
backgroundColor: Colors.blue,
87+
leading: IconButton(
88+
icon: Icon(Icons.arrow_back),
89+
onPressed: () {
90+
Navigator.pushReplacement(
91+
context,
92+
MaterialPageRoute(builder: (context) => HomeScreen()),
93+
);
94+
},
95+
),
8796
),
8897
bottomNavigationBar: MyBottomNavigationBar(selectedIndexNavBar: 1),
8998
body: SingleChildScrollView(

0 commit comments

Comments
 (0)