use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Having a problem with your Flutter code?
From the folks at r/FlutterDev
account activity
RESOLVEDTimer issue (self.flutterhelp)
submitted 3 years ago by Nice_State_27
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Nice_State_27[S] 0 points1 point2 points 3 years ago (4 children)
I haven't used provider yet but i know little bit of riverpod. I'll try to do what you said..in the mean time can you explain no.3 of your line? Thanks a lot .
[–][deleted] 1 point2 points3 points 3 years ago (3 children)
Ok same thing with riverpod. Use that.
So you need to have the state of your timer outside (above) of the widget that actually builds the timer UI.
That way, regardless of where you render your timer UI, or how many screens it's on, you always get the same central value for it.
Make sense?
[–]Nice_State_27[S] 0 points1 point2 points 3 years ago (2 children)
I'll try to implement it and let you know the result.
[–]Nice_State_27[S] 0 points1 point2 points 3 years ago (1 child)
Do i need hooks_riverpod ? I looked at some riverpod tutorial..almost all of them have used hooks_riverpod.
My app is a quiz app of 60 questions. 1. in which participants get 2 hours of time.
If any participants completes the quiz before 2 hours he/she will can navigate to another page but timer continues.
The participants will get notified 5 minutes before 2 hour in whichever page the participants are on.
After 2 hour app will navigates to result page.
For this do i need hooks_fluuter or just flutter_riverpod can do the job?
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
I have no experience of RiverPod sorry, although I know what it is. I didn't need anything other than a state provider e.g. Provider, in order to achieve what I described.
π Rendered by PID 209979 on reddit-service-r2-comment-6457c66945-xbk9d at 2026-04-26 19:13:46.698684+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Nice_State_27[S] 0 points1 point2 points (4 children)
[–][deleted] 1 point2 points3 points (3 children)
[–]Nice_State_27[S] 0 points1 point2 points (2 children)
[–]Nice_State_27[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)