Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whenever I close the webview and reopen it, a flashing white interface appears #311

Open
JemmyWang94 opened this issue Sep 25, 2024 · 1 comment

Comments

@JemmyWang94
Copy link

Column(
children: [
Container(height: 30, color: Colors.yellow, child: ElevatedButton(onPressed: (){
setState(() {
showBrowser = !showBrowser;
});
}, child: Container(color: Colors.blue)),),
Expanded(child: showBrowser ? Container(color: Colors.red,):ExampleBrowser()),
],
)

I use this code to add a button to control the display and hiding of webview.
7C1D4652BD4EFFCC1A412414AF04A7A5.mp4
@YangLang116
Copy link

Is there a good solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants