Search code snippets, questions, articles...

Change click action of left AppBar icon in Flutter

You can change the click action of the left icon in the Flutter AppBar using the leading property of AppBar.
    title: Text("App Header"),
    leading: GestureDetector(
        onTap: () { print("Hello click"); },
        child: Icon(
  , //Change icon here
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place.

Search Index Data (The code snippet can also be found with below search text)

Leading icon action in Flutter
Was this helpful?