In my application there is some action,that I needed to perform in AppBar back button. My issue is, I want to use default back button with my click action.
So its possible to do this stuff.
try
appBar: AppBar(
leading: BackButton(
onPressed: (){
print("back Pressed");
},
),
),