Skip to content

Commit

Permalink
Merge pull request #227 from Mastermind-sap/drawer-close-button
Browse files Browse the repository at this point in the history
Added close button for drawer
  • Loading branch information
andoriyaprashant authored Jun 17, 2024
2 parents bb5bb50 + 2a99781 commit 8b46de0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@ class _HomePageState extends State<HomePage> {
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: [
Icon(FontAwesomeIcons.bars),
IconButton(
icon: Icon(Icons.close),
onPressed: () => Navigator.pop(context),
),
SizedBox(
width: ScreenUtil().setWidth(100),
),
Expand Down

0 comments on commit 8b46de0

Please sign in to comment.