Skip to content

Glossary: Flutter

Riverpod code generation

Also written: @riverpod

A Riverpod feature where annotations such as `@riverpod` make a code generator write provider code for you. It gives shorter provider definitions than writing them by hand.

Where the book teaches it

Related terms

Riverpodprovider