Lets talk redux for a brief moment. As you may know there are three main ingredients in redux: action, reducer, store. From the first look this kinda makes sense. You have your store with is actually your app current state. Reducers are pure functions, as such they are disconnected form everything, just take current state,… Continue reading
Post Category → archive
Connected Widget Pattern
This is something that I have found myself doing really often in my Flutter code base lately. If you are you are familiar with react-redux patterns on the web (or react-native) this would be probably obvious for you. Most of my Dart files (with Flutter widgets) right now have at least two widgets. First is… Continue reading
Size Matters!? Shaving Size of Your Flutter App
Probably APK (or app bundle) and IPA size is not something that is causing you sleepless nights. At least it isn’t for me. We know that there are some tradeoffs when going cross-platform route. Most of people will name performance or look-and-feel as main concerns. Maybe some will mention the deliverable size. This is what… Continue reading
Random messages in Dart intl
As people, we are always craving novelty, things that we are familiar with makes us feel cozy but also do not attract as as much they were right on the beginning. This why your app should constantly engage the user. How to achieve this? You can for example have multiple messages for same operations. In… Continue reading
Testing Flutter callbacks
We all know that we should test our code. Flutter makes this really easy with all of testing frameworks that are coming bundled with it. You can write unit tests, widget tests and UI test. Testing callbacks are particularly tiring. I bet you seen code like this many times, even more, if you are testing… Continue reading