animated_theme_switcher
animated_theme_switcher copied to clipboard
Demo app loses state on Hot Reload
I am not sure of the cause of this, but the default example app that is provided with the library does not preserve state on hot reload. In this case, the counter value goes back to 0, which does not happen on the normal counter demo.
Is there a fix for this?
Output of flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.5, on Arch Linux 5.18.12-arch1-1, locale en_GB.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
same problem
hopefully fixed in 2.0.8