Widget Tricks Newsletter #32
Cursor Best Practices. Who is Hiring. Command Pattern. Practical Flutter Architecture. The Best Tech Combo. Software Engineer Identity Crisis. Vibe Coding in Reality and much more.
📝Post of the month:
💡Flutter Tips:
1. What is a Widget?
2. Track Rebuilds
3. Automate Token Generation for API Testing
4. Some Cursor Tips I found useful :
Leveraging Markdown Files for Context
Keeping a Clean Working Directory
Using Voice-to-Text Tools and Chatbots
💼 Job To Apply:
Flutter Developer At Picwa
This is your opportunity to work on exciting mobile app projects in a collaborative and innovative environment. We're looking for someone who loves clean code, beautiful UI, and seamless UX!
Salary Range : Not Mentioned
✍🏻 Articles to read:
The command pattern by Flutter
I came across Command pattern while reading the official recommended Architecture on flutter.dev. It's amazing to see how one problem can be solved with various patterns. The Command pattern reuses the logic of loading, failure, and success states similar to how we use a Result<T> sealed class or an AsyncValue in Riverpod.
Flutter + Supabase + Metabase - The Best Tech Stack Combo I Use to Build a Dental Management App as a Mobile Developer by Burhanuddin Rashid
My post converted into a blog. In this blog, I shared why I chose these 3 stacks, what my use case was, how they solved my problems, and what the limitations are of these frameworks when building a full stack end-to-end app.
UI layer case study by Flutter
The simple concept here is to have separation between the UI and data layer. Different architecture patterns use different names, but the core concept is the same. Here, we use ViewModel as an intermediate layer to hold UI and data.
Practical Flutter Architecture by Thomas Burkhart
To me, state management is about making sure our UI updates whenever the data changes and figuring out how to update data from the UI. That's all. Often, people confuse it with how we access our data from the UI layer, but that's not really state management.
The Software Engineering Identity Crisis by Annie Vella
Programming today is much more about stitching together APIs, frameworks, and libraries in creative ways to build something meaningful.
📺 Videos to Watch:
Cursor AI Tutorial for Beginners (How I Code 159% Faster)
One thing I get frustrated by Cursor is that, its reverts back to its own working change when I ask for additional changes during follow-up. So the tip here is to send "Thanks, looks great" in chat to avoid making changes to old working code while iterating on new features.
The lazy programmer's guide to writing thousands of tests - Scott Wlaschin
From the title, I thought property testing meant parameterized testing, but this is a completely different approach. Rather than hard coding input and output, you pass random numbers as parameters and write tests against properties of the function under test.
For example, the simple add(x, y) can be tested against Commutative, Associative, Identity, Inverse properties which we learned in High school😄
🪶 Quotes from Books
📦 Code from Packages
Flutter Video Feed
Flutter Video Feed is an open-source Flutter project that demonstrates how to build a performant social media-style video feed similar to TikTok, Instagram Reels, or YouTube Shorts. The project showcases video handling, memory management, and smooth scrolling using MVVM architecture.
TypeSet
TypeSet brings WhatsApp, Telegram-like text styling to your Flutter apps with a powerful twist. Create rich, dynamic text experiences that can be driven by your backend or controlled directly in your UI.
With TypeSet, you can seamlessly integrate bold, italic, strikethrough, underlined text, monospace
, hyperlinks, and even dynamic font sizing without complex widgets or convoluted styling code.
Heroine
The queen of hero transitions. Flutter's most addictive interactions.
dart-check
An experimental library for using property checking techniques in the Dart language inspired by QuickCheck and ScalaCheck.
🐤Tweet/Post I liked
😂Fun and Memes
👋🏻 That’s it, Folks
I am currently open for consultation part-time/full-time, specialized in mobile development with Android and Flutter. So if you are looking for someone to:
Build product architecture from scratch
Train existing developers to level up
Fix major bottlenecks in legacy codebase
Improve code quality
And most importantly, ship things faster
then reach out to me at info@burhanrashid52.com.