Skip to content

Glossary: Dart Basics

anonymous function

Also written: anonymous functions, lambda

A function with no name, written as parameters followed by a body, like (n) => print('Pouring cup $n'). You can pass it to other functions such as where or fold.

Where the book teaches it

Related terms

arrow functionclosurefunction