We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e23d385 commit 3481f24Copy full SHA for 3481f24
lib/screens/profileScreen.dart
@@ -84,6 +84,15 @@ class _ProfileScreenState extends State<ProfileScreen> {
84
appBar: AppBar(
85
title: Text('Profile'),
86
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
+ ),
96
),
97
bottomNavigationBar: MyBottomNavigationBar(selectedIndexNavBar: 1),
98
body: SingleChildScrollView(
0 commit comments