Futures, async, await: Threading in Flutter

Rap Payne
Jun 8 · 5 min read
Photo by Franck V. on Unsplash

Flutter apps use an event loop

Why would it wait?

How do we get the data from a Future?

To get a value out of an async callback, you set an external variable

await

async


You can clap up to 50 times per article. Thanks for your support!

Flutter Community

Articles and Stories from the Flutter Community

Rap Payne

Written by

Rap Payne

Twitter: @Rap_Payne. Mobile and Web app developer. Consultant, trainer, author. Writing “Beginning App Development with Flutter” for apress.com.

Flutter Community

Articles and Stories from the Flutter Community