Loading topic
Intermediate · Mid: 13 chapters · 29 min read. States assumed prerequisites
Start readingasync and await, Futures, and simple streams. For Flutter code, you should also know that the UI must respond quickly to input and draw frames regularly.async and await, Future, and basic streams. For the Flutter examples, also assume that you know why the UI must stay responsive.async/await, Future, and a basic understanding of streams. You should also know why Flutter code must keep its UI work responsive.async and await, Future, and a basic understanding of why Flutter's UI isolate must stay responsive. You should also know how to run a Flutter application.async/await, Future, and streams. It also assumes that you understand that isolates have separate heaps and communicate with messages.async and await, Future, and basic isolate use. You should also understand that isolates communicate by messages instead of sharing mutable memory.async and await, Future, and basic streams. You should also understand that an isolate has its own memory and communicates with other isolates by messages.async and await, Future, and basic streams. For Flutter examples, also assume that you know why the UI isolate must stay responsive.async and await, Future, and basic streams. You will use those ideas to create an isolate that stays alive, receives work, and sends results back.async/await, Future, and streams. It also assumes you understand that isolates do not share mutable memory. The examples use Dart 3 records and run on native Dart platforms.async and await, Future, and a basic understanding of streams. It also assumes that you know an isolate has its own memory and communicates with other isolates by messages.async/await, Future, basic streams, and Flutter platform channels. This chapter focuses on native Flutter platforms, where a background isolate can sometimes call a plugin.async and await, Future, and simple streams. The earlier chapters introduced isolates as separate Dart heaps that communicate through messages. This model works well on native platforms, but it does not apply equally to every Flutter target.