Home > Mobile >  [for] Flutter ios development after the start page will be blank screen
[for] Flutter ios development after the start page will be blank screen

Time:11-28

Flutter to develop ios boot will be black screen once again into the first page after page, help ah, all sorts of methods are tried on the net, did not solve

Because of the first page is advertising page, need to obtain advertising data, to get the data before the black screen, so I set the background to start page, should have, but there are! I then set the background color of the Scaffold, found that will flash the color!

Request a great god teach ah, going crazy aaa

CodePudding user response:

Did you use the idle fish flutter_boost framework?

CodePudding user response:

The
reference 1/f, don't worry reply:
did you use to idle fish flutter_boost framework?

Not using this framework, also did not use other framework, is the development of pure Flutter,
At the moment, I have already taken a way, that is, before the runApp obtain advertising data, so the initial page is advertising page directly, effect is better, but still not very ideal, if the phone card or poor network, or there will be a white (white) when the background color of the advertising page, don't know how to optimize the,
Had done a test, if the initial page is the home page (that is, have the kind of label switch at the bottom of the page) and start page switched effect will be more smooth; (if the initial page is advertising page is full screen images, both network and local pictures have tried), switched the effect will be not so smooth, feel the primary start page disappear after rendering images,
  •  Tags:  
  • iOS
  • Related