In my Flutter app, I have this AppBar
Widget setAppBar(){ return new AppBar( title: addAppBarTextWidget(\'Explore\'), elevation: 0.0, leading:
You can try this, this works fine. when you set the leading = null then extra space of leading widget will remove.
appBar: new AppBar( leading: null, titleSpacing: 0.0, title: new Text("title"), ),