flutter add back button on header code example
Example: how to change the color of the back button in app bar flutter
appBar: AppBar(
iconTheme: IconThemeData(
color: Colors.black, //change your color here
),
title: Text("Sample"),
centerTitle: true,
),