9

Mastering Concurrent Programming in Dart

In the previous chapters, we explored different design patterns and architecture best practices in Flutter. Now, it’s time to explore another important topic: working with concurrency in Dart.

Flutter is known for catchy taglines such as “Everything’s a Widget” and “Dart is single-threaded.” We have already debunked the former and learned that not everything is a widget as there are also elements and render objects. In this chapter, we will investigate the truth behind the saying “Dart is single-threaded.” We will explore the asynchronous world of Flutter and Dart, understand the peculiarities of their APIs, and learn how to work with them correctly and efficiently.

Concurrency-related concepts are ...

Get Flutter Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.