· Loving Flutterflow!

Widget variables get cleared when changing screen orientation

Troubleshooting

I have an app that is mostly going to be used and mobile screen sizes. The app mostly uses widget variables. I have noticed that when I go to test the app that when I change screen orientation my widget variables go from whatever number to 0. My expected outcome is that if the end user rotates the screen then the widget variables will not clear and values will stay put. Is this just a side effect of the testing enviro or do I need to correct something?

Web Version seems to be correct: https://bracket-pro-6k1lru.flutterflow.app/

What have you tried so far?

Just used the testing enviro and the web environment. Screen orientation changes seem to break the experience. The Web enviro seems to work more like I am expecting.

Did you check FlutterFlow's Documentation for this topic?
No
1
3 replies