Our great sponsors
-
flutter_hooks
React hooks for Flutter. Hooks are a new kind of object that manages a Widget life-cycles. They are used to increase code sharing between widgets and as a complete replacement for StatefulWidget.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
riverpod
A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
With the StateNotifier we can keep the state in one place. Another benefit is that we can create multiple providers of the StateNotifier. Now can easily keep the full list and the selected list available. The full code can be found on Github. If you have any questions, feel free to ask them in the comments!
A way to use both flutter_hooks and Riverpod together, while offering small extras.
riverpod