riverpod
riverpod copied to clipboard
A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
Fixed the usage of asyncValue.guard in the documentation Before: ``` /// Future sideEffect() async { /// state = const AsyncValue.loading(); /// try { /// final response = await dio.get('my_api/data'); ///...
**Is your feature request related to a problem? Please describe.** Not a problem, but as title stated, I was curious if there has been any experimentation with the new macros...
II am on latest dev branch of riverpod generator and yet I am facing issues for generics. The code builder leaves "Generics" in 2 functions: 1). _copyWith: The create Function...
**Is your feature request related to a problem? Please describe.** Reference #3486. I want to lazily load data when entering the page, cache them after the data is loaded, and...
**Describe what scenario you think is uncovered by the existing examples/articles** Regardless of whether the switch for `flutter_hooks` is selected, the link leads to the `hooks_riverpod` API page. It should...
**Describe the bug** `vipTypeListInfoProvider.notifier`will show lint `avoid_manual_providers_as_generated_provider_dependency` **To Reproduce** This is my code ``` import 'package:qlzm_color_flutter/model/response/vip_type_list_response.dart'; import 'package:riverpod_annotation/riverpod_annotation.dart'; import '../network/api/pay_api.dart'; import '../util/app_util.dart'; import '../util/storage_util.dart'; part 'vip_riverpod.g.dart'; @riverpod Future refreshVipTypeList(RefreshVipTypeListRef ref)...
**Is your feature request related to a problem? Please describe.** I try to use the `name:` property of a provider to simplify debugging. Unfortunately, I often forget to add the...
`hooks_riverpod: v2.5.1` **Describe what scenario you think is uncovered by the existing examples/articles** Providers are not paused when no longer listened as stated in the docs but they can be...
**Describe the bug** StateError (Bad state: Cannot use "ref" after the widget was disposed.) **To Reproduce** When i Click the Pay Now button i am getting this issue. if i...
**Describe the bug** We have listview which has heterogeneous widget loading inside. Some of this widget just loads image using CachedNetworkImage and some have API call using HookConsumerWidget's useEffect &...