Тёмный

Riverpod Tutorial 02 - Reading providers best practices 

Fun with Flutter
Подписаться 32 тыс.
Просмотров 11 тыс.
50% 1

Опубликовано:

 

24 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 31   
@wesleybarnes5376
@wesleybarnes5376 2 года назад
What I really like from what you showed is the ability to pass a reference (read: ref.read) and use it in other provider classes, changes everything for me, thanks! Good to hear some locals on the topic here too!
@FunwithFlutter
@FunwithFlutter 2 года назад
Awesome
@tadaspetra
@tadaspetra 3 года назад
He's BACK!!! Great video 😊
@FunwithFlutter
@FunwithFlutter 3 года назад
☺️
@joachimstokke2288
@joachimstokke2288 3 года назад
Thank you for taking the time to make these videos!
@FunwithFlutter
@FunwithFlutter 3 года назад
You're welcome 🙂
@TheBadFred
@TheBadFred 3 года назад
That clarifies some problems that I had with riverpod. Thanks. The whole provider variety is more confusing than helpful, I think. A universal provider would be nice. The structure of the documentation is even more confusing.
@dimitristotsios2292
@dimitristotsios2292 3 года назад
You may be right for the documentation, but after watching this series it is obvious how you can use some of the providers.
@TechWithDnes
@TechWithDnes 3 года назад
This is awesome. More on Riverpod... ))
@alfredschilken6154
@alfredschilken6154 3 года назад
Thank you very much for your tutorials and especially for the two Riverpod tutorials. How about a tutorial about unit testing apps that use Riverpod?
@FunwithFlutter
@FunwithFlutter 3 года назад
Have a couple of videos lined up before getting to testing :). Next one is FutureProvider and AsyncValue. This will probs be my favourite one. And a must watch to learn some cool tricks
@hasan_eke
@hasan_eke 2 года назад
You are great, thank you !
@FunwithFlutter
@FunwithFlutter 2 года назад
Happy to help!
@awlad
@awlad 2 года назад
At 13:35 you mentioned not use ref.watch inside your provider but what if you want state to be updated based on for example firestore document stream? How would you deal with that? Thanks
@TheGaoNan
@TheGaoNan 3 года назад
Awsome as always, Thank you!
@banglafactsteller6780
@banglafactsteller6780 3 года назад
plz upload video regular
@FunwithFlutter
@FunwithFlutter 3 года назад
Will do!
@techzone2009
@techzone2009 3 года назад
why you stop the series of riverpord ? please continue ....
@FunwithFlutter
@FunwithFlutter 3 года назад
👀
@xeliani.7809
@xeliani.7809 3 года назад
Could you make a video about a secure login method that should stop most hackers?
@FunwithFlutter
@FunwithFlutter 3 года назад
I could! But security behind login is mostly on the backend! Some tips for login on a mobile app. 1) Don't store any credentials, 2) Be sure to use HTTPS (extra bonus do Certificate Pinning), 3) Only use biometrics to store a long lived session token, not a username and password. 4) be sure to use the correct text views (for example hide the password with *****).
@TheGaoNan
@TheGaoNan 3 года назад
Hey There, i would like to know how can i close a streamProvider? Lets say i have a stream that returns an int, and the stream is Stream.periodic with 1 second as duration. The int is incrementing by 1 from 0 - 5 and once reached 5 i wish to close the listening to the stream so the UI won't rebuild again and again. How can i implement it? this is something im having alot of trubles with lately and didn't found any good explanation suprisingly. Thank you!
@FunwithFlutter
@FunwithFlutter 3 года назад
Hey there. Take a look at autoDispose on providers. You can dispose a provider with the ProviderReference (ref)
@TheGaoNan
@TheGaoNan 3 года назад
@@FunwithFlutter Hi, i've looked at it, can you provide a code example of what it should look like, i've really struggeled with it for a long time. Thank you once again!
@FunwithFlutter
@FunwithFlutter 3 года назад
@@TheGaoNan pub.dev/documentation/riverpod/latest/all/StreamProvider-class.html
@abdallahhussein5997
@abdallahhussein5997 2 года назад
When you type and explain can be much better understanding than to explain the written code already. That is my suggestion
@FunwithFlutter
@FunwithFlutter 2 года назад
Good suggestion!
@_birdy_birdy
@_birdy_birdy 3 года назад
The music, in the beginning, was kinda annoying it was hard to understand what you were saying.
@FunwithFlutter
@FunwithFlutter 3 года назад
Oh no, sorry. 😨
Далее
Скинь той самой ❤️‍🔥
00:15
Просмотров 17 тыс.
Каха понты
00:40
Просмотров 289 тыс.
impossible lungs test !! 🫁
01:00
Просмотров 6 млн
Learn Flutter Hooks and Maximize Your Code Reuse
10:36
Moving from setState to Riverpod in Flutter Part 2
18:18
Flutter Riverpod Tutorial - The Better Provider
41:26
Moving from setState to Riverpod in Flutter Part 1
36:00
Riverpod Simplified | Easy State Management
14:17
Просмотров 44 тыс.
State Management Like A Pro - Flutter Riverpod
10:30
Просмотров 76 тыс.
Скинь той самой ❤️‍🔥
00:15
Просмотров 17 тыс.