Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Flutter - Concurrency & Parallelism
Rating: 4.8 out of 5(2 ratings)
112 students

Flutter - Concurrency & Parallelism

Learn to build a better performance Flutter app with concurrency & parallelism
Created byRichard Dewan
Last updated 9/2023
English

What you'll learn

  • Concurrency
  • Parallelism
  • Isolate
  • Compute
  • Async and Await

Course content

1 section12 lectures1h 50m total length
  • Advance Flutter Course0:03
  • Source Code0:02
  • Getting Started with Asynchronous Programming15:15
  • Practical Guide To Async and Await7:13

    Explore asynchronous programming in Dart and Flutter, contrast synchronous and asynchronous execution, and master await to wait for futures before proceeding.

  • Concurrent Programming – Part 112:25
  • Concurrent Programming – Part 28:38

    Learn to run concurrent tasks with different return types, use a completer to generate futures, and await results from asynchronous operations such as simulated api calls.

  • Compute Function11:43
  • Isolate Parse Json Response From Api15:07
  • Isolate Error handling9:32

    Learn how to handle errors in Flutter isolates by configuring on exit and on error handlers, interpreting stack traces, and debugging isolated workloads.

  • Create Isolate with Isolate.run()9:28
  • Async vs Isolates5:50
  • Understanding Isolate and Event Loop15:24

Requirements

  • Basic of Flutter and Dart

Description

In the beginner friendly course we will learn about the Concurrency & Parallelism in Flutter and Dart. We will get started with a beginner friendly topic and slowly move to more advance topic, by the end of this course you will be confident in using Concurrency & Parallelism in you own Flutter app.


You must have a basic knowledge on Flutter and Dart development to understand this course clearly, if you have never written a Flutter and Dart course this course is not for you.


Dart supports concurrent programming with async-await, isolates, and classes such as Future and Stream. This page gives an overview of async-await, Future, and Stream, but it’s mostly about isolates.

Within an app, all Dart code runs in an isolate. Each Dart isolate has a single thread of execution and shares no mutable objects with other isolates. To communicate with each other, isolates use message passing. Many Dart apps use only one isolate, the main isolate. You can create additional isolates to enable parallel code execution on multiple processor cores.

Although Dart’s isolate model is built with underlying primitives such as processes and threads that the operating system provides, the Dart VM’s use of these primitives is an implementation detail that this page doesn’t discuss.

Who this course is for:

  • Flutter Developer