How to make the count up stops randomly after the start button is clicked in flutter #123184
Replies: 3 comments 4 replies
This comment was marked as spam.
This comment was marked as spam.
-
Thanks for posting in the GitHub Community, @king2636 ! We’ve moved your post to our Programming Help 🧑💻 category, which is more appropriate for this type of discussion. Please review our guidelines about the Programming Help category for more information. |
Beta Was this translation helpful? Give feedback.
-
Sorry, the above guven solution is giving that error below when I try to debug |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Countup(
begin: 0,
end: 100,
duration: Duration(seconds: 5),
separator: ',',
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 22,
),
)
This is my code above, how can I make the count up to stop automatically in a random way without the stop button click. There must be 2 ways for the timer to stop, e.g the user has to click stop at a certain figures or the count up stops automatically. Please help.
I had built the count up of numbers it's running perfectly, but i want it to stop automatically or the user has to click the stop button provided the user has not click the button the countup must stop automatically at random based
Beta Was this translation helpful? Give feedback.
All reactions