number_slide_animation icon indicating copy to clipboard operation
number_slide_animation copied to clipboard

"number" is not refreshing to new values after setstate.

Open atishpaul opened this issue 4 years ago • 2 comments

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.

atishpaul avatar Feb 14 '21 12:02 atishpaul

Do you have a minimal working example so that i can debug the issue?

kiesman99 avatar Mar 03 '21 21:03 kiesman99

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!

atishpaul avatar Mar 13 '21 13:03 atishpaul