openwebf/webf

A brief white screen will appear when first opened

Link-X opened this issue · 2 comments

Should this be an RFC?

  • This is not a substantial change

Description

I hope to add loading animations when the actual page content is not displayed.

It can be considered to distribute events in Flutter, and it is better for Flutter to display a loading widget than full screen white.

Alternatives and Workarounds

No response

Temporarily implemented through events onLoadError and onDOMContentLoaded. These events are not mentioned in the document.

Maybe I can design a callback that triggers when widgets are received and displayed on the screen, before the actual page content has fully loaded.