Is there any way to detect onWillPop result before make it draggable
Opened this issue · 1 comments
UlasKasim-dusyeri commented
We realize that after dragging, onWillPop returns false and we are not popping. Is there any way to know that onWillPop returns false and makes the page undraggable?
xSILENCEx commented
onWillPop
is a Future, we can't get its return value in advance
In 0.0.5
, I added a new way of using it to make it work locally:
Navigator.of(context).push(WillPopPageRoute(
builder: (_) => const TestPage(),
));