Page Action - On Disposal

Actions & Logic

Hi,

Have anyone tried the On Disposal page action? And made it work?

For me it does not work when I try to navigate away from a page.

What have you tried so far?

How I have tested it, is by having a Update App State action to give a value to a string variable, and on another page which i navigate to, have a show snackbar action, which shows me the value of that string variable.

When testing this, it does not seem like the app state variable is not updated from the On Disposal page action. I'll add the screenshots for my action flow.

Did you check FlutterFlow's Documentation for this topic?
Yes
11
9 replies