Articles in this series
In a previous post, we discussed using find.byPredicate for more accurate and bulletproof widget testing. Flutter: Up your testing game In this post we are going to quickly go through that same logic, but for data related unit testing. For the 95% of...
We've all certainly seen it in our UI before, "A RenderFlex overflowed by...", and we all know this error means that our UI is painting beyond the bounds of our available real estate. When this is on the screen, it's very easy to fix, but what about ...
Today we going to look at a great utility provided by Flutter's testing framework which gives us a lot more power when it comes to accurately test our widgets. Very often widgets can very simply be tested using find.byType, find.text and find.byKey. ...
Today we going to discuss the nicely simple way in which you can use GitHub's actions to automate the unit testing for your Flutter project. This can be very handy to prevent broken code from going to production, or even just as a sanity check for th...
The Problem… Often times within our applications, both on the UI and Data sides we will need to set “defaults” for dates, the simplest way to do that in most cases would be to use DateTime.now(), after all, we are most likely going to use the current...
Probably not too common a use case, but for me I have a utility function for handling in-app navigation from the in-app web view webview_flutter while it does have a generic error handler, I need to be handle errors differently based on what type of ...