There are so many Widgets, and each of them does so many things. Here are a few of the ones I've been using lately to get my work done.
While trying to understand the BLoC pattern, I came across Notifications in Flutter. Not push notifications, mind you, but a way for child widgets to communicate with their ancestors. THESE ARE THEIR STORIES. BOMBOM!
I'm jealous of the other app developers who just know how to make animations in Android. Luckily, Flutter is here to help me -- and you! -- make some beautiful animations that don't cause us headaches.
I'm a firm believe in going with Kotlin for Android and Swift for iOS. None of that cross-platform mumbo jumbo.... until now. Flutter's kinda cool.
Long gone are the days of Builder classes and their massive amount of boilerplate code. In this new era, Kotlin has given us Data Classes and I've never looked back. (Except to write this post, and let me tell you: the past was a scary place.)
This is a message to you all, but more so a message to me: it's important to learn in public.
Scoped functions -- let, apply, also, and run -- can make your code more concise while providing you benefits and simplicity. They can look intimidating but don't be afraid! Dive in with me as I go over these tools.
Fors and Whiles in Kotlin are pretty similar to their Java counterparts. Let's go over them so you can become proficient in Kotlin!
Kotlin is very similar to Java, but a refresher is also good to have. This week, I go over If, Else, and When.
Kotlin is a great language to switch to if you already know Java. There's a small learning curve, sure, but that's true for switching to any language. One thing to get used to is the difference in the way Kotlin declares properties.
Switching from one programming language to another can feel intimidating and daunting. I'm here to help ease some of the pain. Now that I've been introduced to Kotlin, I never wanna go back to Java.
Kotlin has declarations called Extension Functions which allow you to add new methods (and even properties) to another class without actually modifying that class. I've come up with a few that have been invaluable to me, and I use them every day.
Breaking down what MVP (Model-View-Presenter) is and what it means for your applications.