Widget Tricks Newsletter #10
Importance of Writing. Who is Hiring. Why Riverpod is My Favorite. Flutter Origin Story. A Developer Tool to Automate Almost Anything. What You Need to be Happy and Much More.
📝Post of the Month
Writing is similar to Workout. Everyone knows that it's really important, but very few people do it because it's hard to start and needs to be consistent long enough to see the results.
💼Flutter Jobs To Apply
Flutter Engineer: OPUS RS(on-site - Sydney, Australia)
About the role: The above company is recruiting a flutter engineer on behalf of a digital agency that is based in Sydney. Their team thrives on collaboration and innovation, working with a diverse range of clients to craft unique digital experiences.
You'll be a key player in developing awesome mobile applications for their clients. they need someone with a deep understanding of Flutter, a flair for creating visually stunning and functional apps, and the ability to thrive in their collaborative agency vibe.
Salary range: $110,000.00 to $130,000.00 per annum
✍🏻Articles To Read
Why We Need AsyncValue of Riverpod by Tsuyoshi Chujo
As far as my state management journey goes, Riverpod stands out as my absolute favorite. One thing I particularly like is the design of AsyncValue. Why? Personally, I prefer building offline-first experiences apps that offer minimal loading times and ensure a smooth user experience, which is also the first thing I teach in my class.
For a long time, I could not find the right design that handles both offline and online scenarios efficiently.
When should the loader be displayed? When should data be fetched from the cache? Should the loader be shown when cached data is visible and the app still fetches data from the network?
In my opinion, AsyncValue has all those attributes such as isLoading, hasError, and isRefresh. This article delves deep into those details.
Also, I am planning to write a more detailed blog post on Riverpod. If you are interested let me know in the comment section.
Writing a LocalFileComparator with Threshold for Flutter Golden Tests by Bernardo Belchior
Golden tests are savvier in terms of catching UI-related bugs. However, since they heavily rely on machine’s OS to generate results, they come with their own set of challenges.
Recently, I came across an issue where the CI generated different golden tests based on different Mac versions and some even failed due to a minimal 0.0% or 0.1% difference that didn't impact the actual UI.
This article aims to address such challenges by offering a solution by setting a custom threshold value that allows the tests to pass within a specified percentage threshold.
How to Learn Better in the Digital Age by Gian Segato
The truth is that we only retain information when we put serious effort into the process of learning. The fact of the matter is that digital products make it uniquely easy to trick yourself into thinking that you’re learning when you are actually being entertained.
📺Videos to Watch
Before Flutter | Rubber Duck Engineering | Episode #100
Every successful project starts with a lot of failed projects. One incident I liked in this video is when Adam mentioned that "...we had an initial jank when the app loads, once we used it for 5-6 seconds, the app works without any issues. So, before we hand the app to someone else for a demo...we quickly used the app for 5-6 seconds and then gave it to that person."
And this is the story of how Flutter started. I highly recommend watching "Before Flutter."
What The Ultimate Study On Happiness Reveals
Spoiler Alert: It’s the people around you and the relationship you build with those people leads to happiness. This is also similar to the Netflix Live to 100: Secrets of Blue Zones documentary where people who lived 100 years describe the same thing, The relationship, community, and physical exercise are what made their lives longer.
Script Kit: The Ultimate Open Source Dev Kit
ScriptKit by John Lindquist is my new obsession about “What can I automate now?”. I like the simplicity of the tool with basic UI elements and easy-to-add shortcuts to those scripts. Also, on a personal level, this allowed me to explore other tools and languages apart from Flutter. If you are not using this tool as a developer then you are missing something really valuable.
📦 Code from Pub Packages
THEOplayer Flutter SDK
The theoplayer package provides a THEOplayer
component supporting video playback on the following platforms:
Android, Android TV & FireTV
iOS
HTML5 (web, mobile web)
Excel 4.0.2
Excel is a flutter and dart library for reading, creating, and updating Excel sheets for XLSX files.
➕ Formulas and Calculations
💾 Support Multiple Data types efficiently
📈 Charts
🌄 Add Pictures
📰 Create Tables and style
🔐 Encrypt and Decrypt excel on the go.
📚 Quotes From Books
🐦 Tweet I liked
😂 Fun and Memes
Buying new books is so addictive!
👋🏻 That’s it, Folks
Hey there, If you enjoyed this post then would you be able to do me a quick favour 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.
Thank you for being a part of the Widget Tricks Newsletter, and I am looking forward to hearing from you soon.