profile

The Flutterpreneur

by Milos Jokic

Flutter & Firebase tips from Toptal Tech Lead and founder of $100K app. Join 2,237+ engineers

LinksPosts

The Flutterpreneur #002: Clean code with switch expressions

Hey Reader, Today I'm gonna show you why I love switch expressions so much. And how you can use them to write clean code. It's time to switch how you write switch. (OK, that was a horrible punch line.) Today we'll cover: What's a switch expression?! Enum's best friend Sealed classes What else can switch do? 1. What's a switch expression?! Everyone knows this pattern: It works but it's too much code for a simple task. Let's rewrite it using switch expression: Much cleaner. 2. Enum's best...
5 days ago • 1 min read

The Flutterpreneur #001: The right way to add widgets to children

Hey Reader, Welcome 👋 This is the first edition of The Flutterpreneur, where I write fast & actionable Flutter & Firebase tips every Saturday. Let's go. Today I'll show you the right way to add widgets to children. Sounds simple, but many devs mess it up as their codebase grows. If your simple code isn't clean, your complex code will be a nightmare to maintain. We'll cover: 6 ways to add a single widget 6 ways to add multiple widgets What not to do What clean code looks like Let's dive in. 1....
12 days ago • 1 min read

Flutter & Firebase tips from Toptal Tech Lead and founder of $100K app. Join 2,237+ engineers

Share this page