I have a global variable and I want to refresh my Widgets automatically (without using setState
each time) whenever its value changes.
Is that possible?
I have a global variable and I want to refresh my Widgets automatically (without using setState
each time) whenever its value changes.
Is that possible?
you should use
provider
for that link,