Skip to main content

2 posts tagged with "state management"

View All Tags

Riverpod Code Generation

· 8 min read
Charles Tsang
Flutter Developer
Cover

Riverpod offers a code generation tool that helps to enhance the developer experience. Through code generation, Riverpod simplifies the syntax to define providers and notifiers, reducing the amount of boilerplate code and enhancing the developer experience. It also provides support for multiple family parameters, including named parameters and positional parameters.

Riverpod Basics

· 23 min read
Charles Tsang
Flutter Developer
Cover

Riverpod is a state management library for Dart and Flutter applications. It offers exceptional flexibility, providing features such as provider-to-provider interaction and customisable lifecycles for individual providers. Riverpod is particularly useful for handling and caching asynchronous operations such as fetching data from an API. In this article, we will explore the basic concepts of Riverpod.