Community Member
 · Building with Flutterflow

Can't seem to get a repeatable darkmode toggle using this action on a toggle....

Here is what I designed as an action:

- first checks if the AppState is darkmode.

  • if it is NOT (false) then set it to true, and set the dark mode value to true

  • if it true, (dark mode), then change it to false, and set the dark mode value to false

Rinse an repeat each time I press the toggle, but it doesn't seem to work, it only works in one direction:

1
2 replies