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

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

Leading icon action in Flutter
Was this helpful?
Programming Feeds
Learn something new everyday on Devsheet