FlutterFlow Docs
Search…
Refresh Database Request
Using this action, you can see the updated values of an item inside the scrollable widgets such as ListView, GridView, StaggeredView, Row, and Column.
Refresh database request

Prerequisites

Before adding this action, ensure you have enabled the Single Time Query on the Backend Query (Query Collection or API Call) on any scrollable widget.

Adding Refresh Database Request action

Go to your project page on FlutterFlow and follow the steps below to define the Action to any widget.
  • Select the Widget (e.g., Button) on which you want to define the action.
  • Select Actions from the Properties panel (the right menu), and click Open. This will open an Action flow Editor in a new popup window.
  • Click on the + Add Action.
  • On the right side, search and select the Refresh Database Request (under Backend/Database) action.
    • From the dropdown, select the widget (e.g., ListView, GridView, etc.) on which you have added the backend query.
    • By default, the Wait for Result option is enabled. That means the subsequent action(s) will only trigger after this action is finished. If any subsequent action is not dependent on this action or you want to trigger them regardless of the completion of this action, you can turn off this option.
    • When the Wait for Result is enabled, you can specify the Min Wait Time and Max Wait Time in ms (e.g., 1000ms = 1 second).
      • Min Wait Time: Time before triggering the following action(s) or refreshing the UI.
      • Max Wait Time: Time after which the subsequent action(s) will trigger regardless of the completion of this action.
  • Click Close.
Adding Refresh Database Request action
Copy link