Search posts, tags, users, and pages
Build high-performance desktop apps with Flutter, covering tools, tips, and challenges for cross-platform development
Alex Sinelnikov
@avdept · Miami, FL
Engineer, researcher, CTO
Software engineer in my soul. Been building since early 2000.
Markdown supported · ⌘↵ to post
Yuriy Novikov
Thanx for the article. You use Visibility to show an appropriate view. Is it to eliminate if...else? Any drawbacks of such a technique? Are hidden widget trees still there... or not?
Yes, visibility widgets, even when hidden - stays in widget tree, but you can set replacement widget, by default its SizedBox.shrink().
In my case I didn't want if/else in that part of code and used Visibility()
Yuriy Novikov
Thanx for the article. You use Visibility to show an appropriate view. Is it to eliminate if...else? Any drawbacks of such a technique? Are hidden widget trees still there... or not?