· Learning FF

Passing value to widget on page load

Actions & Logic

Hello,

I have a custom action that is triggered on page load. And I have a text widget that is supposed to take the value returned by the action.

It seems like the action output is passed after the widget is built, is it the expected behavior and if yes how can I do to have the value already passed to the widget before it is displayed on the screen? The current result is not good from a customer experience standpoint as the entire page is returned to the user and you see a delay of 1s or say before my variable is populated to the widget.

Thanks!

What have you tried so far?

No alternative found yet.

Did you check FlutterFlow's Documentation for this topic?
Yes
1
2 replies