استمتع بـUnlimited مع Magzter GOLD

استمتع بـUnlimited مع Magzter GOLD

احصل على وصول غير محدود إلى أكثر من 9000 مجلة وصحيفة وقصة مميزة مقابل

$149.99
 
$74.99/سنة
The Perfect Holiday Gift Gift Now

Asynchronous Programming in Flutter - Shallow Dive into Google's Mobile App Framework

February 2025

|

Circuit Cellar

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.

- Bob Japenga

Asynchronous Programming in Flutter - Shallow Dive into Google's Mobile App Framework

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].

imageProgramming 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.

المزيد من القصص من Circuit Cellar

Circuit Cellar

Circuit Cellar

The Future of Sensors in Safety Systems Sensing the Stop

How Magnetic Sensors Are Enabling the Next Generation of Braking Systems

time to read

5 mins

December 2025

Circuit Cellar

Circuit Cellar

Alif Semiconductor Elevates Generative AI at the Edge with New Support for ExecuTorch Runtime in Its Ensemble MCUs

Alif Semiconductor, the leading global supplier of secure, connected, power efficient Artificial Intelligence and Machine Learning (AI/ML) microcontrollers (MCUs) and fusion processors, announced that developers can now use the ExecuTorch Runtime, a quantization extension of the popular PyTorch ML framework, for AI applications built to run on its Ensemble E4/E6/E8 series of MCUs and fusion processors.

time to read

1 min

December 2025

Circuit Cellar

Circuit Cellar

Encrypted MQTT Protocol for Critical Sectors

Mechanisms, Challenges, and Best Practices

time to read

3 mins

December 2025

Circuit Cellar

Circuit Cellar

Datasheet: Small Size, Big Power

Smaller Microcontrollers Bring New Possibilities

time to read

9 mins

December 2025

Circuit Cellar

Circuit Cellar

Analog Devices Launches ADI Power Studio and New Web-Based Tools

Analog Devices, Inc. (ADI), a global semiconductor leader, announced the launch of ADI Power Studio, a comprehensive family of products that offers advanced modeling, component recommendations, and efficiency analysis with simulation.

time to read

1 mins

December 2025

Circuit Cellar

Circuit Cellar

Compact IBR300 2.5" SBC Powered by NXP i.MX 93 from IBASE

IBASE Technology, Inc., a leading provider of rugged embedded computing platforms, announced the release of the IBR300, a 2.5\" RISC-based single board computer (SBC) powered by the NXP i.MX 93 processor with dualcore ARM Cortex-A55 (up to 1.7GHz) and a Cortex-M33 MCU.

time to read

1 min

December 2025

Circuit Cellar

Circuit Cellar

Sensors in the Spotlight

The Next Decade of Embedded Sensor Systems

time to read

12 mins

December 2025

Circuit Cellar

Circuit Cellar

Bob's Wrap Up

In Bob's last article with Circuit Cellar, he attempts to wrap up a career of more than 50 years as an embedded systems engineer and 14 years with Circuit Cellar. He looks at each of his 58 articles by category and provides some recommendations for his fellow engineers.

time to read

7 mins

December 2025

Circuit Cellar

Circuit Cellar

Designing Embedded Software Architectures That Last

I've reviewed hundreds of firmware projects over the years, and one thing always stands out: the most successful projects have a clear, deliberate architecture.

time to read

10 mins

December 2025

Circuit Cellar

Circuit Cellar

Broadcom Introduces Industry's First Wi-Fi 8 Silicon Ecosystem Powering the AI Era

Broadcom, Inc. unveiled the first Wi-Fi 8 silicon solutions for broadband wireless, targeting residential gateways, enterprise access points, and smart mobile clients.

time to read

1 mins

December 2025

Listen

Translate

Share

-
+

Change font size

Holiday offer front
Holiday offer back