Skip to content

Glossary: Flutter

spread operator

Also written: ...

The `...` syntax that copies a list's items into a new list, as in `[...state, newLine]`. It is how a Notifier assigns a new list instead of changing the old one.

Where the book teaches it

Related terms

Notifier