Stateless vs Stateful Widgets - Flutter Explained - Level: Beginner
Автор: Flutter Explained
Загружено: 2020-02-03
Просмотров: 6140
Today we want to discuss Stateful and Stateless Widgets in a more deeper way. We will create here the first Stateful Widget and work with a Stateless Widget. We talk about the final keyword and also that a Stateless Widget is not able to change the properties inside.
On the other hand, we talk about the Stateful Widget and the setState method. Finally, we create a small button that changes the state of the widget and with that, we will see the results accordingly.
You can find the source code in the following repository:
https://github.com/md-weber/basic_wid...
If you search more information about Flutter check out https://flutter.dev.
⭐️⭐️ Timeline ⭐️⭐️
1:55 - Ternary Operator
3:40 - Stateful widget
4:30 - Changing the state
5:25 - Creating a button
7:10 - The setState Function
9:05 - Outro
⭐️⭐️ Follow me ⭐️⭐️
Twitter - / max_myracle
Github - https://github.com/md-weber
Hashnode / Blog - https://hashnode.com/@Myracle
⭐️⭐️ Support ⭐️⭐️
If you read this so far, thank you once more. If you like to support me, here are some links that could help me a lot.
Buy me a coffee - You are free to donate me a coffee so I can keep up my work.
https://www.buymeacoffee.com/sBGXj7Pl4
Amazon Affiliate Link - You buy for the same price and I get a small amount of it.
https://amzn.to/2NSs8op
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: