peiffer-innovations / json_dynamic_widget

MIT License
224 stars 67 forks source link

Dynamic JSON Equivalent for Flutter's Visibility Widget #324

Closed tjanhvi closed 1 month ago

tjanhvi commented 1 month ago

In Flutter, we use the Visibility widget to control the visibility of a child widget. What is the equivalent approach to achieve the same functionality when building widgets dynamically from JSON?

jpeiffer commented 1 month ago

Added the Visibility widget with 7.3.1.

Example here: https://github.com/peiffer-innovations/json_dynamic_widget/blob/main/json_dynamic_widget/example/assets/pages/visibility.yaml