Widget Tricks Newsletter #16
Debugging vs The Fix. Guarding Routes using Riverpod. What are Monads. Deploying iOS app to App Store and pushing patches on the fly using Shorebird, and much more.
📝Post of the month:
✍🏻 Articles to read:
Guarding routes in Flutter with GoRouter and Riverpod by Dinko Marinac
The most common use case for route guarding is authentication. If the user is logged in, all functionality is available to him, if he is not, most or none is. This can be achieved with the redirect feature on GoRouter with Riverpod.
Monads in 15 minutes by Nikolay Grozev
I prefer to learn broader programming concepts rather than specific related framework things. Because you can apply those broader concepts to any language or framework. Monads was one of those concepts that I learned last week.
The Alternative Implementation Problem
What I’ve concluded, based on experience, is that positioning your project as an alternative implementation of something is a losing proposition.
📺 Videos to Watch:
Code Push for Android & iOS | Flutter Shorebird
Shameless plug 😆
In this 2-hour long session, Sanni Prasad and I deployed an iOS app to the App Store from scratch. We set up Fastlane for our Flutter app and deployed it using GitHub Actions. If you are just interested in the important steps, then you should read the blog version of this video.
Code Push for Android & iOS | Flutter Shorebird
A short and precise guide on how you can deploy changes on the fly to an app using Shorebird without uploading the APK to both stores. Shorebird currently only supports pure Dart code changes. It DOES NOT support asset and native plugin changes.
📦Code/Pub Packages/Plugins:
Tray Manager
This plugin allows Flutter desktop apps to defines system tray.
Dropdown Textfield
A DropdownTextfield is a Material Design TextField. The DropDownButton is a widget that can be used to select one unique value or multiple values from a set of options.
Crayon
Rich text editor built using flutter.
🪶Quotes
Rereading this quote from the past
❓Questions I liked
Ask HN: Freelancers, How Do You Get Work?
If we summarize all the answers, the insight is to build a strong reputation by building proof of work that is publicly available and trying to help in the communities in terms of PR, writing blogs, and sharing your learning. This takes time, but the frequency of inbound freelance opportunities compounds.
😂Fun and Memes
Excel Easy: #1 Excel tutorial on the net
I put this in the fun category because I find enjoyment in tweaking and playing with spreadsheets. This skill would come in handy when you want to gain insights from the data you have tracked. It can be for expense tracking, health, or your business finances. No matter what you do, there will come a time when you will have to learn this Excel.
👋🏻 That’s it, Folks
If you are a Flutter developer who wants to advance your Flutter skills, then I am currently running live classes called effectiveflutterdev.com. So if you are interested, then apply now.
Also, If you enjoyed this post, then would you be able to do me a quick favor and share my latest blog post with your friends and colleagues? I'd really appreciate it and I think it could be valuable to them.