Build the widget off screen

Posted by Rohit Kumar | Updated on

Build the widget off screen. Some people recommended using OverlayEntry and it looks like the best solution.

You can put OverlayEntry below the current screen so it’s not visible and with maintainState: true it will be built. A big advantage is that it’s easier to implement as it doesn’t mix with the current widget tree.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers