title: How to intercept back button in AppBar in flutter
body: <p>I am using interceptor <a href="https://pub.dartlang.org/packages/back_button_interceptor" rel="noreferrer">https://pub.dartlang.org/packages/back_button_interceptor</a> to execute a method when the page 1 is back from page 2.</p>
  
  <p>If I come back from page 2 to page 1 using device back button, the method is executed.</p>
  
  <p>But if I come back from page 2 to page 1 using the arrow button at appBar I am not able to execute the method.</p>
  
  <p>How can the back arrow button functionality default to the device back button?</p>