How to remove or hide back icon from AppBar

Issue

I need to hide or remove back button or back icon from AppBar is that possible?
If it is possible then how?
I set leading: null, but it is still there without any changes

Solution

Adding the following line to your AppBar should work:

automaticallyImplyLeading: false

Answered By – Akshansh Bhanjana

Answer Checked By – Marilyn (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *