flutter-riverpod-snippets
flutter-riverpod-snippets copied to clipboard
Update riverpod snippets to generate Ref instead of FooRef introduced in riverpod 2.6.0
An example of how a provider is generated now is as below
@riverpod
String helloWorld(HelloWorldRef ref) {
return 'Hello world';
}
However, with riverpod 2.6.0, the same should be
@riverpod
String helloWorld(Ref ref) {
return 'Hello world';
}
I can see this is still open.
I'm willing to open a PR for this but I need the author to write an "ACK" down here so that I won't waste time 😛
@RobertBrunhage is this repo still maintained? I can quickly PR this if you're willing to review and merge 😄
@mufaddalgulshan @lucavenir have been inactive on this repo as I haven't personally used it. I am keeping track of the notifcations better here though so if you want to contribute feel free!
Alright, thanks @RobertBrunhage. Please approve of #42 ASAP, unless there's some issues ofc.