number_slide_animation
number_slide_animation copied to clipboard
"number" is not refreshing to new values after setstate.
Hi, i'm struggling to update the 'number',i'm using setstate but its static,not changing to new values. I have to close the page and reopen it to see the new values.
Do you have a minimal working example so that i can debug the issue?
Hi, Sorry for late response,
For example, If you set number: '1'
and then change it's value to number: '2'
, and hot reload it, It will not update to its new value.
We have to hot restart the application to see the new values.
Flutter doctor results: Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 2.0.0, on Microsoft Windows [Version 10.0.19041.746], locale en-IN) [√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [√] Android Studio (version 4.1.0)
• No issues found!