Riverpod Tutorial 02 - Reading providers best practices

  Рет қаралды 11,486

Fun with Flutter

Fun with Flutter

Күн бұрын

Пікірлер: 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 жыл бұрын
☺️
@TechWithDnes
@TechWithDnes 3 жыл бұрын
This is awesome. More on Riverpod... ))
@joachimstokke2288
@joachimstokke2288 3 жыл бұрын
Thank you for taking the time to make these videos!
@FunwithFlutter
@FunwithFlutter 3 жыл бұрын
You're welcome 🙂
@hasan_eke
@hasan_eke 2 жыл бұрын
You are great, thank you !
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
Happy to help!
@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.
@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!
@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
@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. 😨
Riverpod Tutorial 03 - FutureProvider, AsyncValue and Error Handling
22:51
Riverpod Tutorial 01 - Understanding the different notifiers
20:10
Fun with Flutter
Рет қаралды 31 М.
НАШЛА ДЕНЬГИ🙀@VERONIKAborsch
00:38
МишАня
Рет қаралды 2,9 МЛН
😜 #aminkavitaminka #aminokka #аминкавитаминка
00:14
Аминка Витаминка
Рет қаралды 1,8 МЛН
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 11 МЛН
Learn Flutter Hooks and Maximize Your Code Reuse
10:36
Robert Brunhage
Рет қаралды 61 М.
Riverpod Simplified | Easy State Management
14:17
Tadas Petra
Рет қаралды 44 М.
State Management Like A Pro - Flutter Riverpod
10:30
Robert Brunhage
Рет қаралды 76 М.
Building a Movie App in 10 Minutes with Flutter
11:06
Robert Brunhage
Рет қаралды 41 М.
Flutter Riverpod Tutorial - The Better Provider
41:26
Reso Coder
Рет қаралды 85 М.
I Remade YouTube From Scratch Using Just Bash
17:51
icitry
Рет қаралды 61 М.
Flutter Animation in 5 Minutes
5:01
Fun with Flutter
Рет қаралды 176 М.
НАШЛА ДЕНЬГИ🙀@VERONIKAborsch
00:38
МишАня
Рет қаралды 2,9 МЛН