Overwhelmed by the amount of class boilerplate in Flutter? Try Functional Widget and Flutter Hooks! Code: github.com/avalanche-tm/youtu... #flutter #functional #widget Twitter: @Avalanche_tm9
Пікірлер: 30
@asthedreamfadesaway2 жыл бұрын
Nice, this paradigm is a much better approach, no wonder many js frameworks tend to implement it nowadays. However, there's still the nightmare of the widget tree. New languages should also focus on developer experience.
@avalanche20732 жыл бұрын
I absolutely agree and I hope future releases of Flutter and Dart will make our lives easier. Meanwhile we'll have to survive with code generators and such.
@raianmr2843 Жыл бұрын
Would be interesting if someone made a Dartlin language that would be to Dart what Kotlin is to Java 😂
@possible13 Жыл бұрын
my left ear enjoyed it
@scottgodfrey78552 жыл бұрын
I prefer to just exclude the generated files from the file tree. There’s an option to exclude them in VS Code. There’s no reason to ever look at them (Except in rare cases).
@avalanche20732 жыл бұрын
That is an excellent solution that didn't occur to me. Thanks!
@scottgodfrey78552 жыл бұрын
@@avalanche2073 Always happy to help.
@ghifariakbar799911 ай бұрын
Really useful tip. Thank you.
@AylinAktash2 жыл бұрын
So useful, thanks!!
@avalanche20732 жыл бұрын
Thank you nice lady!
@roninspect43572 жыл бұрын
Great content. Keep it up!!!
@avalanche20732 жыл бұрын
Will do sir!
@michaelamir65042 ай бұрын
Bro, I thought my headphone got broken 😂😂
@Hazara_boy Жыл бұрын
why this channel is so underrated.
@jedt3d Жыл бұрын
hey great video and the good technique like this should be promote more contractor community. by the way, what is the extension that you use to display tree-liked structure as indentation like video at 6:21 ?
@lugardjulien53262 жыл бұрын
wow just so coool
@Apenschi2 ай бұрын
So in order to save a little bit of code, I add a package that other devs need to know in order to be able to read my code, I add an additonal layer of abstraction and the need to re-generate everytime something changes ?!? What an bu...st idea of an overengineering nightmare!
@greatramu862 жыл бұрын
my left ear is unhappy
@avalanche20732 жыл бұрын
Yeah, I realized it after upload and views already started coming. Blame DaVinci resolve which pans mono audio to one channel by default.
@devState2262 жыл бұрын
Like it❤️
@avalanche20732 жыл бұрын
Glad you like it!
@inaciol2 жыл бұрын
muito top!
@avalanche20732 жыл бұрын
Gracias amigo! When I get comment on Friday night I know it's from a true follower!
@user-wr4yl7tx3w2 жыл бұрын
More Flutter video please
@avalanche20732 жыл бұрын
Will do sir!
@shrestharanjit2 жыл бұрын
which vscode theme you are using ?
@avalanche20732 жыл бұрын
Atom One Dark
@Salmanfaris-pg2jw9 ай бұрын
Hi I Am getting this error : AssertionError ('package:flutter_hooks/src/framework.dart': Failed assertion: line 133 pos 12: 'HookElement._currentHookElement != null': Hooks can only be called from the build method of a widget that mix-in `Hooks`. Hooks should only be called within the build method of a widget. Calling them outside of build method leads to an unstable state and is therefore prohibited.