Home > OS >  Flutter: Delay before next page in my app
Flutter: Delay before next page in my app

Time:11-04

Hello in my app when I click for the next page it takes one second and shows a white screen and then shows me my desired page why does this happen how to remove this delay, anyone, please??

CodePudding user response:

I think you have to check your code especially where you write your navigate function to next page and for white screen, there maybe some values which cause this issue. to trace them you can debug or put exception breakpoint in VSCode.

CodePudding user response:

If you have some api call during page navigation, it will have some delay to load another page. for that, you have to implement loader, which will notify your users that it is in loading stage. will drop the document link below.

https://api.flutter.dev/flutter/material/CircularProgressIndicator-class.html

  • Related