IMPORTANT: This package has been updated since I uploaded this video. If you use a version above ^0.7.0, the stopWatchTimer.rawTime.value won't work. I will try to upload a more updated video soon, but as long as you use version ^0.7.0 this will still work fine!
@JuanFcoRomero3 жыл бұрын
Ideas for a new videos: * state management * structure patterns for Flutter like MVC... ;)
@FlutterMentor3 жыл бұрын
Thank you for the suggestions! Always helpful. I wish I had more free time to do videos!
@borisllonalonso993 жыл бұрын
awesome work!
@FlutterMentor3 жыл бұрын
thank you so much!
@sergioernestotostadosanche25093 жыл бұрын
Great video! Beforehand I'm glad you for the knowledge sharing and reading my comment. For this package, can we get the stopwatch elapsed time making something if a specific time is reached (i.e. a method call)? Also, I read the comments below this tutorial won't work on the upgraded package, I hope the updated video will resolve that. Regards!
@FlutterMentor3 жыл бұрын
That is an interesting question, I have never had the need to do it, so I'm not sure. However, I'm positive it's possible. Even if you end up needing to create your own copy/version of the package code and you just include the custom method call yourself. Thank you so much for the kind words and for watching!
@mokudev3 жыл бұрын
Good!
@FlutterMentor3 жыл бұрын
Thank you!
@aqua_dio2 жыл бұрын
Amazing 😍 Please tell me how to display records just on minutes and seconds when click lop?)
@FlutterMentor2 жыл бұрын
Another user left this comment for how to hide milliseconds: "final displayTime = StopWatchTimer. getDisplayTime(value, hours: _isHours, milliSecond: false);" , I think it might be able to help you on this too! And thanks for watching!
@aqua_dio2 жыл бұрын
@@FlutterMentor it just work with timer but with records don't work ((
@FlutterMentor2 жыл бұрын
@@aqua_dio damn :/ you might have to create a copy of the package file and then make your own version from it. Sometimes it's the only solution
@kamilabduvaliev283 жыл бұрын
how to delete milliseconds so that it shows only hours, minutes and seconds? Can I do that?
@FlutterMentor3 жыл бұрын
Have you tried copying the package and making your own version? If you do that, you could just go to the getDisplayTime method and define the bool milliSecond = false; (it's true in the original class file)
@KorpaG3 жыл бұрын
two months have passed, but still suddenly someone will need it. final displayTime = StopWatchTimer. getDisplayTime(value, hours: _isHours, milliSecond: false); Other things can also be configured in getDisplayTime
@salihbalkis723 жыл бұрын
How to keep it work when app is closed?
@FlutterMentor3 жыл бұрын
That's definitely a bit trickier to pull off. See if this can help you: stackoverflow.com/questions/62255486/flutter-how-to-keep-the-app-running-on-background
@jet99743 жыл бұрын
any idea why the stopWatchTimer.rawTime.value isn't working to me?
@deveshvaidya40913 жыл бұрын
Same for me
@deveshvaidya40913 жыл бұрын
Have you solved it
@jet99743 жыл бұрын
@@deveshvaidya4091 Yes I did. Just use stop_watch_timer: ^0.7.0 version and then stop and rerun your app