I’ve been learning Flutter for a few weeks now, and today I want to share what I’ve learned so far on this journey.
I started with the basics of Dart, getting my head around data structures, classes, and objects. Classes and constructors gave me a tough time at first. 🤯 Luckily, ChatGPT became my “patient teacher”, answering all the questions I was too shy or too stuck to ask a real person.
It really helped me understand how classes work behind the scenes.
Then I jumped into Flutter itself, where everything is a widget; basically a class. How cool 🎉
Next up: layouts; I learnt about widgets like rows and columns.
I built my very first screen and then built 4 more screens for the onboarding flow of a quiz app. It was amazing to watch it come together and finally feel like I’m actually doing this thing.
Then I tackled navigation with commands like:
navigator.of(context).push
navigator.of(context).pushNamed
navigator.of(context).pop
That part made my app feel real.
After navigation, my next challenge was state management. Local state was pretty straightforward, but managing app state, well, that was tricky! I stumbled across a YouTube video that finally made things click for me. Once I understood it, I experimented with the provider package to deepen my knowledge.
To practice, I built a dummy app called Cartly where I managed the state of a cart shared across two screens. Seeing that work felt awesome, like I really got a grasp on app state! 🛒✨
That’s where I’m at right now, excited to keep learning and building.
Top comments (0)