Learn Flutter Hooks and Maximize Your Code Reuse

Learn Flutter Hooks and Maximize Your Code Reuse

Robert Brunhage

3 года назад

61,032 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Sujal Abhani
Sujal Abhani - 30.04.2023 08:57

Thanks for the great actual use case tutorial, but i have a question what is if i wanna know the value outside the build method? what if i wanna pass to x function without listening to? maybe i will take look at hooks package

Ответить
Shlok Bhakta
Shlok Bhakta - 16.11.2022 19:02

Man woke up and chose violence with the comments

Ответить
Hadi Rahmani
Hadi Rahmani - 12.08.2022 08:15

thanks, so what was the result?

Ответить
Adam Gonzales
Adam Gonzales - 20.01.2022 04:30

Reactjs developers are loving this feature I'm sure of it

Ответить
Marcos Carlomagno
Marcos Carlomagno - 13.01.2022 06:28

So nice content :) I think one important principle is that everything in flutter is a widget, so in this case I would create a widget for the timer and reutilize/customize it across the app instead of reutilizing the functionality. But anyway is so great to count with that library for some special scenario

Ответить
sirjager
sirjager - 31.12.2021 09:41

i dont understand why we need to pass context inside useInfiniteTimer(context); Why ?

Ответить
Casper Dev
Casper Dev - 15.12.2021 19:27

Great explanation.

Ответить
JuanCa!
JuanCa! - 02.12.2021 07:37

Good job! It was really clear to understand. thanks! <3

Ответить
rishabh gupta
rishabh gupta - 13.11.2021 19:19

explained very well.

Ответить
Marflage
Marflage - 15.07.2021 14:56

I am new to state management. Could anybody explain the difference between hooks, getx, provider, and riverpod? Or are they used for the same thing but with different implementations? Thanks!

Ответить
Martin Alcala
Martin Alcala - 15.07.2021 06:25

As a React developer, this was sooo beautiful!

Ответить
Oyuncun WonderPlay [Kapandı]
Oyuncun WonderPlay [Kapandı] - 25.05.2021 22:18

I like your content.

Ответить
Hamza Lakrati
Hamza Lakrati - 07.05.2021 10:04

Amazing 👏 Love that so much, very similar to react hooks which I am a very huge fan of 😍😍

Ответить
Algardraug
Algardraug - 17.04.2021 22:38

Not a fan of useEffects. So much extra messy code with anonymous functions within another function. Less readable than separating code into different functions

Ответить
Jason Sebring
Jason Sebring - 12.04.2021 01:34

way cleaner, smaller code, good stuff. ... now how to do this with global state, streams etc...

Ответить
tvpolispacetoon
tvpolispacetoon - 22.03.2021 17:13

He seriously needs to learn getX. He doesn't even need to use stateful widgets anymore, this is so old school

Ответить
El Vincitore
El Vincitore - 21.03.2021 16:46

talk about a complete rip off of react hooks

Ответить
Mohammed Salman
Mohammed Salman - 18.02.2021 18:48

Flutter Hooks are much easier to understand and reason about and also they're just like react hooks so that's a plus

Ответить
Morched Lafferty
Morched Lafferty - 25.01.2021 05:04

Good presentation. Keep this up! — I felt like I'm watching Fireship. :)

Ответить
Riki Yanuar
Riki Yanuar - 12.01.2021 02:51

great tutorial 👍

Ответить
Veeresh
Veeresh - 18.11.2020 10:45

Can't we use state management (like redux bloc or provider) for this purpose.

Ответить
Farhad Entezari
Farhad Entezari - 16.11.2020 10:33

Very well explained thanks! I dont get dispose() - what happens if you forget to dispose?

Ответить
Roland Wimmer
Roland Wimmer - 16.11.2020 02:43

Is it not possible to do the same thing with mixins?

Ответить
BlackHat Visions
BlackHat Visions - 14.11.2020 12:58

Repeating the regular code 7 times is easier than implementing the hook.

Ответить
Ankit Rathore
Ankit Rathore - 14.11.2020 12:07

Why are you making flutter looks like react ??

Ответить
beijun xi
beijun xi - 14.11.2020 11:23

aaaaaaamazing

Ответить
angga pande
angga pande - 14.11.2020 06:27

hay, can you give a tutorial to create customize cluster in map. i already try with plugin but it not bocome what i want and the clustering is not smooth.

Ответить
Soumik Paul
Soumik Paul - 12.11.2020 13:18

Great learning content! Btw which ide is that?

Ответить
fperson
fperson - 11.11.2020 10:29

Why did you need context argument for useInfiniteTimer?

Ответить
THKP
THKP - 10.11.2020 22:11

Very cool! Always wondered if hooks could be applied to Flutter given it's conceptual similarity to React!

Ответить
Adrison Gomez
Adrison Gomez - 08.11.2020 15:19

Sound Great. I love it.

Ответить
Abhishek Rawat
Abhishek Rawat - 08.11.2020 09:33

It's so similar to react hooks :)

Ответить
OIC
OIC - 08.11.2020 07:31

Great Video👍!
Good Explanation.
Want More Videos like this !

Ответить
John Doe
John Doe - 08.11.2020 05:30

The same stuff can be implemented using mixins, without any third party libraries

Ответить
Wong Voon Ngee
Wong Voon Ngee - 08.11.2020 05:15

Heard the Hook before, but never know how use it until now. 😀 Great tutorial, and keep it up 😍

Ответить
Erick Gutiérrez
Erick Gutiérrez - 08.11.2020 02:21

Is there any difference using this package instead of Bloc, GetX? because the main objective is to stop using Stateful Widgets.

Ответить
MOHAMMAD TalHa
MOHAMMAD TalHa - 08.11.2020 01:53

Just write stl instead of stle and stf for statefullwidget

Ответить
Arash Hesni
Arash Hesni - 08.11.2020 00:19

Can you please make a video on how to use moor in flutter web , thank u for all the good videos

Ответить
doctor code
doctor code - 07.11.2020 23:28

I never heard about Flutter Hooks before this video, Thanks man ❤

Ответить
David Smith
David Smith - 07.11.2020 20:42

Great stuff, almost exactly like in React. The only problem I have with it, I rarely share code between widgets. But I'll keep that library in mind for future scenarios.

Ответить
Jimmy Robert
Jimmy Robert - 07.11.2020 19:21

Amazing video, great job 👍🏽 Just to be sure, the context parameter in your useInfiniteTimer function is useless here, am I wrong?

Ответить
i.k. Shaikh
i.k. Shaikh - 07.11.2020 19:14

Excellent Tutorial, Looking forward to an animation video

Ответить
Shrewman
Shrewman - 07.11.2020 18:51

Great tutorial dude. I found flutter hooks with firebase auth from your Twitter account and wanted to ping you. Do you have a github repo where I can look for flutter apps with firebase auth and riverpod!?

Ответить
Robin Dillenburg
Robin Dillenburg - 07.11.2020 18:17

My first action: Installing the Remove Comments Extension 😂

Ответить
Tarun Verma
Tarun Verma - 07.11.2020 18:09

Can you help me for How to start freelancing as a flutter developer...

Ответить