📱 Flutter
Beginner
What is async/await in Dart?
Answer
async/await is syntactic sugar for working with Futures in a readable, sequential style without nested callbacks. Marking a function with async makes it return a Future. Using await inside an async function pauses execution at that point until the Future completes, then resumes with the result. Critically, await does not block the UI thread — it suspends only the current async function, freeing the event loop for other work.