If the ModalProgressHUD has "isAsyncCall" set to true, and wraps a widget which executes code that returns a Future, it seems to prompt a re-initialisation of some widgets in it's child subtree, see here the PageController will reset to page zero despite an attempt to animate to the next page. (But if isAsyncCall = false then it will not have an issue).
If the ModalProgressHUD has "isAsyncCall" set to true, and wraps a widget which executes code that returns a Future, it seems to prompt a re-initialisation of some widgets in it's child subtree, see here the PageController will reset to page zero despite an attempt to animate to the next page. (But if isAsyncCall = false then it will not have an issue).
Code to recreate:
`