Тёмный

Flutter Basics - Stateless and Stateful Widgets 

Johan Jurrius
Подписаться 10 тыс.
Просмотров 6 тыс.
50% 1

In this video we look at the difference between the Stateless and Stateful Widgets. We look at using the setState() method and talk about performance when using Stateless and Stateful Widgets. At the end, we see how to extract a Widget as a WIDGET or a METHOD.
Watch the whole playlist for my Flutter course here: • Flutter Course .
You can find my Dart playlist here:
• Dart Basics and a bit ...

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

 

4 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@AaishaHazeen
@AaishaHazeen Год назад
Great teacher...Love from India❣
@Break.
@Break. 2 года назад
I've been working through your course and I just wanna quickly say thanks, your teaching has helped me learn so much in just a couple of days!
@chris-malek
@chris-malek 3 года назад
Great stuff. I am going through the whole series. Thank you so much.
@Dentity
@Dentity 3 года назад
Best instructor ever 🙏🙏🙏
@gopalmatcha4436
@gopalmatcha4436 2 года назад
Absolutely loved this lesson!
@Phrog64
@Phrog64 2 года назад
Just making a comment for those following after me: When you are naming your variables in the extract widget section, you may receive an error. The error will display something like "The argument type 'function' can't be assigned to the parameter type 'void Function()'. This is because, to my knowledge, Johan's video isn't using Null Safety. To get around this, instead use 'final void Function() onTap;' as opposed to 'final Function onTap;' This should resolve the error.
@JohanJurrius
@JohanJurrius 2 года назад
Thanks for sharing
@nabukodonosor777
@nabukodonosor777 2 года назад
I love how you pronouce 'build' :) bold :)
@ReimeiNoRaimei
@ReimeiNoRaimei Год назад
Thank you very much for this video!
@shanglee643
@shanglee643 3 года назад
More please!!!!!
@musoxon_
@musoxon_ 2 года назад
👍👍👍
@abhijeetkumarjha3608
@abhijeetkumarjha3608 2 года назад
@Johan Jurrius sir my text widgets inside the stateful widgets are not displaying after hot reload and even after restart
@abhisheksharma9970
@abhisheksharma9970 3 года назад
Hello Sir... thanks for creating such great tutorial... I am not able to follow Extract Widget part. Its throwing exception. Please suggest... Thanks-
@JohanJurrius
@JohanJurrius 3 года назад
Good day Abhishek. What is the exception it throws? I have never seen it not working.
@abhisheksharma9970
@abhisheksharma9970 3 года назад
@@JohanJurrius Thanks much for quick response... this is exception I am getting... The following assertion was thrown building MyOwnButton(dirty): setState() or markNeedsBuild() called during build.
@sithenkosimenze4483
@sithenkosimenze4483 3 года назад
Would you please upload the project folder to google drive
@obsessed92
@obsessed92 2 года назад
What's the difference between @required and required ?
@theson4485
@theson4485 2 года назад
nullsafety is the difference, i guess
@dhoomketu731
@dhoomketu731 2 года назад
I am getting an error which reads like the following : "setState or markNeedsBuild called during build". Would be immensely glad if you could offer a solution to it. Thank you.
@tertiusscheepers8357
@tertiusscheepers8357 2 года назад
Same here
@dhoomketu731
@dhoomketu731 2 года назад
@@tertiusscheepers8357 Use VoidCallback
@damilolahassan
@damilolahassan Год назад
@@dhoomketu731 How do you use the voidcallback
@hassanamin6971
@hassanamin6971 2 года назад
Followed the same tutorial but the no of count is not increasing
@AndyIvan74
@AndyIvan74 2 года назад
This app would be a lot better with all of the 72 different genders.🤣🤣🤣
Далее
Flutter Basics - Exercise to create a Profile UI
27:26
кажется, началось
00:45
Просмотров 1,6 млн
Schoolboy - Часть 2
00:12
Просмотров 3,1 млн
🎸РОК-СТРИМ без ФАНЕРЫ🤘
3:12:10
Просмотров 1,4 млн
Dart Async - Futures in Dart
32:22
Просмотров 4,2 тыс.
Flutter Navigation - Routes in Flutter
44:53
Просмотров 10 тыс.
Stateless vs. Stateful | Flutter Basics
7:37
Просмотров 12 тыс.
Dart Classes - Basics of Classes in Dart
20:48
Просмотров 15 тыс.
Flutter Local Data Persistence - Shared Preferences
47:40
DHH discusses SQLite (and Stoicism)
54:00
Просмотров 57 тыс.
Flutter State Management - Routes and Provider
34:23
Просмотров 10 тыс.
кажется, началось
00:45
Просмотров 1,6 млн