Write 40% less code in Flutter - Dream or reality? | Functional Widget

  Рет қаралды 7,945

Avalanche

Avalanche

2 жыл бұрын

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
@asthedreamfadesaway
@asthedreamfadesaway 2 жыл бұрын
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.
@avalanche2073
@avalanche2073 2 жыл бұрын
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
@raianmr2843 Жыл бұрын
Would be interesting if someone made a Dartlin language that would be to Dart what Kotlin is to Java 😂
@possible13
@possible13 Жыл бұрын
my left ear enjoyed it
@scottgodfrey7855
@scottgodfrey7855 2 жыл бұрын
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).
@avalanche2073
@avalanche2073 2 жыл бұрын
That is an excellent solution that didn't occur to me. Thanks!
@scottgodfrey7855
@scottgodfrey7855 2 жыл бұрын
@@avalanche2073 Always happy to help.
@ghifariakbar7999
@ghifariakbar7999 11 ай бұрын
Really useful tip. Thank you.
@AylinAktash
@AylinAktash 2 жыл бұрын
So useful, thanks!!
@avalanche2073
@avalanche2073 2 жыл бұрын
Thank you nice lady!
@roninspect4357
@roninspect4357 2 жыл бұрын
Great content. Keep it up!!!
@avalanche2073
@avalanche2073 2 жыл бұрын
Will do sir!
@michaelamir6504
@michaelamir6504 2 ай бұрын
Bro, I thought my headphone got broken 😂😂
@Hazara_boy
@Hazara_boy Жыл бұрын
why this channel is so underrated.
@jedt3d
@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 ?
@lugardjulien5326
@lugardjulien5326 2 жыл бұрын
wow just so coool
@Apenschi
@Apenschi 2 ай бұрын
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!
@greatramu86
@greatramu86 2 жыл бұрын
my left ear is unhappy
@avalanche2073
@avalanche2073 2 жыл бұрын
Yeah, I realized it after upload and views already started coming. Blame DaVinci resolve which pans mono audio to one channel by default.
@devState226
@devState226 2 жыл бұрын
Like it❤️
@avalanche2073
@avalanche2073 2 жыл бұрын
Glad you like it!
@inaciol
@inaciol 2 жыл бұрын
muito top!
@avalanche2073
@avalanche2073 2 жыл бұрын
Gracias amigo! When I get comment on Friday night I know it's from a true follower!
@user-wr4yl7tx3w
@user-wr4yl7tx3w 2 жыл бұрын
More Flutter video please
@avalanche2073
@avalanche2073 2 жыл бұрын
Will do sir!
@shrestharanjit
@shrestharanjit 2 жыл бұрын
which vscode theme you are using ?
@avalanche2073
@avalanche2073 2 жыл бұрын
Atom One Dark
@Salmanfaris-pg2jw
@Salmanfaris-pg2jw 9 ай бұрын
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.
Flutter Hooks - Say Goodbye To Stateful Widget
10:06
Avalanche
Рет қаралды 56 М.
Code Review: Dart
12:37
TheVimeagen
Рет қаралды 24 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 14 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 100 МЛН
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,4 МЛН
Is Functional Programming a Good Idea?
10:28
Sammy Engineering
Рет қаралды 16 М.
When, why, and how to multithread in Flutter
15:10
Flutter
Рет қаралды 62 М.
What is happening with Flutter
3:41
typecraft
Рет қаралды 144 М.
Practical Functional Programming in Dart & Flutter
37:12
Reso Coder
Рет қаралды 13 М.
Efficient Flutter Workflow: Melos, Auto Route, DI, Slang & Mason
36:26
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 814 М.
Async vs Isolates | Decoding Flutter
4:24
Flutter
Рет қаралды 122 М.
35 Flutter Tips That Will Change Your Life
10:53
Flutter Mapp
Рет қаралды 298 М.
Learn Flutter Hooks and Maximize Your Code Reuse
10:36
Robert Brunhage
Рет қаралды 61 М.
Хакер взломал компьютер с USB кабеля. Кевин Митник.
0:58
Последний Оплот Безопасности
Рет қаралды 1,5 МЛН
Как распознать поддельный iPhone
0:44
PEREKUPILO
Рет қаралды 2,3 МЛН
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 2,2 МЛН
Kumanda İle Bilgisayarı Yönetmek #shorts
0:29
Osman Kabadayı
Рет қаралды 2,2 МЛН