Loading topic
Future, and async/await. You should also understand Flutter widgets, the build method, StatefulWidget, and setState. The examples use Riverpod 2.x with Flutter.2 min readbuild method, and the difference between StatelessWidget and StatefulWidget. You should also understand that setState causes a widget to rebuild.2 min readbuild method. You should also understand that a widget rebuilds when the data it displays changes.2 min readbuild method. It also assumes you know that setState causes a widget to rebuild. The examples use Riverpod 2-style APIs.2 min readasync/await. You should also understand Flutter widgets, the build method, and how setState updates a widget.2 min readbuild method. It also assumes you understand ProviderScope and basic providers. You will use Notifier when state can change through named operations such as increment, decrement, or reset.1 min readasync and await, and Flutter’s build method. This chapter also assumes that you can declare a provider and read it with ref.watch.2 min readasync/await, Flutter widget building, and the difference between ref.watch and ref.read.1 min readasync and await, Flutter widget basics, and the difference between watch and read. AsyncNotifier is useful when a provider both loads asynchronous data and exposes methods that change that data.2 min readbuild method, and Riverpod providers, Notifier, and ref.watch. This chapter focuses on reducing widget rebuilds when a provider contains more data than a widget needs.1 min readFuture, and async/await. You should also know Flutter’s build method and the difference between rebuilding a widget and running an event callback.1 min readFuture, async/await, Flutter widget basics, and the difference between ref.watch and ref.read. You will use those ideas to create provider instances based on an input value.2 min readFuture, and async/await. You should also understand ConsumerWidget, ref.watch, and basic Riverpod providers.2 min readFuture, and async/await. You should also understand Flutter widgets and the basics of Riverpod providers, ref.watch, and AsyncValue.1 min readFuture, async and await, Flutter widgets, and the basics of Riverpod providers and notifiers. This chapter focuses on testing provider logic without building a widget tree.1 min readasync and await, Flutter’s build method, and the difference between setState and lifted state. The examples use Riverpod 2 with Notifier and AsyncNotifier.2 min readasync and await, Flutter widgets, and basic Riverpod providers. Code generation means writing a smaller source file and using a tool to create repetitive Dart code from it.1 min read