FlutterFlow Docs
Conditional Visibility
Learn how to conditionally change the visibility of widgets.
You can choose to show or hide any element in your app based on a condition. This is done using the "Visibility" property that can be set on widgets and components. To set the visibility of a widget, make sure you've selected it, and expand the "Visbility" section on the property editor. It should look like the image below:
Visibility section in the property editor
The visibility option can be set to any "boolean" field that you have available on that page. This could come from a Firestore document field, or even a custom function.
You can toggle "Show in UI Builder" to test the effect of showing/hiding that widget in the UI builder. This option is only to help you visualize the effect of visibility on the widget and it does not affect your app.
Last modified 1mo ago
Copy link