If you want to remove extra padding around AppBar leading icon in Flutter? You can’t do this because it is a predefined widget. You can, however, do this:
automaticallyImplyLeading: false, // Don't show the leading button
onPressed: () => Navigator.pop(context),
icon: Icon(Icons.arrow_back, color: Colors.white),
// Your widgets here
Where automaticallyImplyLeading: true hides the leading IconButton so you can add your own widgets.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.