How to disable back, home and recent buttons in flutter?
1,865
Back button can be disabled using WillPopScope widget, I also think that the home button can be disabled using hardware_buttons package.
Author by
Hossein Yousefpour
Full-stack Flutter android, iOS and web applications developer
Updated on November 23, 2022Comments
-
Hossein Yousefpour over 1 year
I want to disable navigation buttons in a flutter app when the platform is Android. I don't want to hide them. I want to disable even when the phone using physical navigation buttons.