Skip to content

Glossary: Flutter

null check error

Also written: Null check operator used on a null value

The error `Null check operator used on a null value`, raised when code uses `!` on a value that is `null`. For example `currentState!` fails if the Form isn't using the key.

Where the book teaches it

Related terms

GlobalKey