Skip to content

Glossary: Dart Basics

closure

Also written: closures

An anonymous function that can use and change variables from the place where it was written, even after being passed elsewhere.

Where the book teaches it

Related terms

anonymous functionscope