Stateless vs Stateful Widgets - Flutter Explained - Level: Beginner

Publié le: 01 janvier 1970
sur la chaîne: Flutter Explained
6,156
207

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Stateless vs Stateful Widgets - Flutter Explained - Level: Beginner durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Flutter Explained 01 janvier 1970, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 6,156 fois et il a aimé 207 téléspectateurs. Bon visionnage!