We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
The text was updated successfully, but these errors were encountered:
Is there a good solution?
Sorry, something went wrong.
No branches or pull requests
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()),
],
)
7C1D4652BD4EFFCC1A412414AF04A7A5.mp4
The text was updated successfully, but these errors were encountered: