Asynchronous Programming in Flutter - Shallow Dive into Google's Mobile App Framework
Circuit Cellar
|February 2025
This month, Bob continues his look at mobile app programming from the perspective of an embedded system designer. He begins a shallow dive into Flutter, the mobile app framework from Google, by describing his transition from React Native to asynchronous programming in Flutter.
Introduced the Flutter ecosystem and discussed a little about Flutter in my article, “An Embedded Designer Looks at Mobile App Development,” in the April 2024 issue of Circuit Cellar [1]. This month’s article assumes you are familiar with the terms that were introduced previously, so it might be helpful for you to review my earlier column. Some definitions I will be using here are given in Table 1.
Being somewhat crazy, I took the entire app that I wrote in React Native, and rewrote it in Flutter. What an adventure! And it has taken me so much longer than the original React Native app. Overall, I like the Flutter structure better than React Native, but I find the non-orthogonality of the architecture and imprecise documentation completely maddening [2].
Programming in Flutter is like driving in Boston, where there are so many one-way streets that you are sure that some day you will be driving down a one-way street and reach an intersection with four streets all one-way to the spot you are in. “You can’t get there from here!” Sometimes with Flutter, you find yourself unable to define the function you need with the types that you need, because of language restrictions.FLUTTER/DART ASYNCHRONOUS PARADIGM: UNDERLYING ARCHITECTURE
We embedded systems designers need to know how things work under the hood, because without this information, we normally cannot understand the documentation provided. Here is my peek under the hood of Flutter asynchrony.
Diese Geschichte stammt aus der February 2025-Ausgabe von Circuit Cellar.
Abonnieren Sie Magzter GOLD, um auf Tausende kuratierter Premium-Geschichten und über 9.000 Zeitschriften und Zeitungen zuzugreifen.
Sie sind bereits Abonnent? Anmelden
WEITERE GESCHICHTEN VON Circuit Cellar
Circuit Cellar
Saelig Introduces Economical AIM-TTI ATG1005 5MHz Function Generator
Saelig Co., Inc. announces the AIM-TTI ATG1005 Touchscreen Function Generator, which uses advanced Direct Digital Synthesis (DDS) technology to deliver high-quality, low-distortion Sine, Square, and Pulse waveforms to 5MHz, and triangle waveforms to 500kHz.
1 mins
January 2026
Circuit Cellar
The Future of Edge AI Ultra-Low Power Edge AI
The Case for Intelligence at the Source
3 mins
January 2026
Circuit Cellar
IR Images Come to Your Cellphone
In this article Brian uses a Melexis MLX90640 IR camera module coupled to an ESP32 controller. He streams the image data to a web browser running on a cell phone, tablet, or computer, eliminating the need for a dedicated color LCD. Together, this makes for a very low-price IR camera.
20 mins
January 2026
Circuit Cellar
STMicroelectronics' Intelligent Power Switch Automatically Adjusts to Handle Inrush Current
STMicroelectronics' IPS1050LQ low-side switch IC provides flexible overcurrent protection, including a static mode with fixed, programmable current limit and a dynamic mode that safely handles high inrush current.
1 min
January 2026
Circuit Cellar
Nordic Semiconductor Unveils nRF54LV10A - Breakthrough Low-Voltage Bluetooth LE SOC for Next-Gen Healthcare Wearables
Nordic Semiconductor, a global leader in low-power wireless connectivity solutions, launches the nRF54LV10A SoC, setting a new benchmark for integration, performance, and battery life in the smallest medical devices.
2 mins
January 2026
Circuit Cellar
SemiQ Expands 1200V Gen3 SiC MOSFET Line with Launch of 7.4, 14.5, and 34m2 SOT-227 Modules
SemiQ Inc, a designer, developer, and global supplier of superior silicon carbide (SiC) solutions for ultra-efficient, high- performance, and high-voltage applications, has expanded its family of 1200V Gen3 SiC MOSFETs, launching five SOT- 227 modules that offer RDSon values of 7.4, 14.5, and 34mΩ.
1 min
January 2026
Circuit Cellar
Datasheet: Power Quality Monitoring Watching the Peaks and Valleys
Systems for Monitoring Power Quality for Homes and Industry
2 mins
January 2026
Circuit Cellar
Build a Miniature Greenhouse for Hydroponic and Potted Plants
Automated Monitoring with a Raspberry Pi 4B
10 mins
January 2026
Circuit Cellar
The Pulse of Innovation 600
The Rise of Wearable Technology
18 mins
January 2026
Circuit Cellar
Build a Smart Energy Meter to Track Home Power Use
Using an ESP32 Dev Kit and PZEM-004T Energy Sensor Module
12 mins
January 2026
Listen
Translate
Change font size

