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
Adding the following line to your AppBar
should work:
automaticallyImplyLeading: false