DEV Community

Miracle Anyanwu
Miracle Anyanwu

Posted on

Overriding the leading property on Appbar in Flutter

To override or remove the left leading property in Flutter, simply pass a Container() widget as the leading value.

Example

Top comments (1)

Collapse
 
polymathwhiz profile image
Miracle Anyanwu

You can achieve a better result by setting the automaticallyImplyLeading property on the AppBar to false.