Stateless vs Stateful | Flutter Example

  Рет қаралды 18,198

Learn Flutter with Me

Learn Flutter with Me

Күн бұрын

A simple attempt at debunking the difference between a Stateless and Stateful Widget in Flutter. Also includes an example of randomizing numbers and using a Ternary Operator. This tutorial is meant to break down the differences in a simple example app with just an AppBar and a FloatingActionButton.
See the source code:
learnflutterwithme.com
#flutter #learnflutter
Instagram:
learnflutterwithme
Stuff I use for this channel (Affiliate Links)
SanDisk 1TB SSD amzn.to/3j1U8py
Elgato Cam Link 4K amzn.to/37EyqBK
Logitech G600 Mouse amzn.to/36DYFYz
Logitech G Pro Keyboard amzn.to/3saco38
Macbook Pro M1 13" amzn.to/36GzbKc
Neewer Mic Arm amzn.to/3z7RvIm
Davinci Resolve amzn.to/3erEb9I
Adobe Photoshop Elements amzn.to/3BkPKth

Пікірлер: 40
@chonglennon343
@chonglennon343 2 жыл бұрын
I love you tutorials with map guide and constructing the idea clearly in mind!
@LearnFlutterwithMe
@LearnFlutterwithMe 2 жыл бұрын
Thank you!
@themasteradder7358
@themasteradder7358 Жыл бұрын
very good, ive been messing around trying to just do a simple button update something on the UI for ages and after watching this I have found my method to do it, nice and simple
@refusedtobeaverage7222
@refusedtobeaverage7222 2 жыл бұрын
Great explanation! Thanks.
@oguzhandogdu2221
@oguzhandogdu2221 9 ай бұрын
Very Clear! Thank you!
@better_notes182
@better_notes182 Ай бұрын
Thanks a lot, much love from India ❤
@pagan0ga
@pagan0ga Жыл бұрын
Nice tutorial for the basic concept of state. Thanks.
@Nanashi-rq7lk
@Nanashi-rq7lk 7 ай бұрын
your explanation is clear. thanks
@hassanmalik8899
@hassanmalik8899 3 ай бұрын
Clear and concise subscribed ✨
@aresjoel8720
@aresjoel8720 3 ай бұрын
Great explanations, showing gradually what happen when trying to change state of stateless widgets. Tons of thx
@LearnFlutterwithMe
@LearnFlutterwithMe 3 ай бұрын
Thank you for watching!
@davidsiltroy
@davidsiltroy 2 жыл бұрын
great video! thank you!
@kartikeyshaurya1827
@kartikeyshaurya1827 Жыл бұрын
your content is underrated man
@AbinStanislaus
@AbinStanislaus 3 ай бұрын
very helpful.
@Vasudevan.Gnanasekaran
@Vasudevan.Gnanasekaran 5 ай бұрын
Thank you for good and useful video
@Nallu_Swami
@Nallu_Swami 11 ай бұрын
This is gold !!!!!
@mohamedboughariou1146
@mohamedboughariou1146 Жыл бұрын
cool man thanks a lot
@jaysardar1
@jaysardar1 2 ай бұрын
Nice tutorial for the basic concept of state. Thanks. @LearnFlutterwithMe
@vtvvnha2230
@vtvvnha2230 2 жыл бұрын
thank you
@1PercentCeo
@1PercentCeo 3 ай бұрын
I rarely comment on videos, but you're a great teacher.
@LearnFlutterwithMe
@LearnFlutterwithMe 3 ай бұрын
Thank you so much!
@gravitashebynimus3425
@gravitashebynimus3425 Ай бұрын
pretty cool
@ohhalice
@ohhalice Жыл бұрын
So true
@nithikornwarapork5295
@nithikornwarapork5295 Жыл бұрын
ty 🦾
@mikopiko
@mikopiko Жыл бұрын
Very well explained
@LearnFlutterwithMe
@LearnFlutterwithMe Жыл бұрын
Thank you!
@mikopiko
@mikopiko Жыл бұрын
@@LearnFlutterwithMe One thing I had hard time understanding was the point of Const, Final & Late. Especially the Final keyword. Do you have any plans on walking through the use cases and where it's useful with practical examples? Const is obvious, but Final & Late has been a tough nut to crack.
@LearnFlutterwithMe
@LearnFlutterwithMe Жыл бұрын
@@mikopiko Yes I can see if I can put that together soon!
@mikopiko
@mikopiko Жыл бұрын
@@LearnFlutterwithMe That's highly appreciated, keep it up!
@topGfanboy
@topGfanboy 2 жыл бұрын
How do i get the diagramatic representation of widgets
@LearnFlutterwithMe
@LearnFlutterwithMe 2 жыл бұрын
I just create them in a flowchart app with a green background and then "green screen" the background out in my video editing software
@lucilferis6356
@lucilferis6356 Жыл бұрын
Great Content, but the background music was a bi disturbing
@KrishNamaste
@KrishNamaste Жыл бұрын
can you tell me why did you use 2 in nextInt() method?
@faysalhasan4215
@faysalhasan4215 Жыл бұрын
Generate a random integer between 0 and 1. If you want to generate in a range of 5, you have to use 6 in nextInt(). so basically the range is by default starts from and 0 and end at (nextInt-1).
@KrishNamaste
@KrishNamaste Жыл бұрын
@@faysalhasan4215 thank you, very much.
@RedOkamiDev
@RedOkamiDev Жыл бұрын
awesome tutorial, and most bad a$$ t~shirt!! long live Kamelot dev brother!
@LearnFlutterwithMe
@LearnFlutterwithMe Жыл бұрын
Thank you! And yes, one of my favorite bands! ☺
@personofsomething6205
@personofsomething6205 Жыл бұрын
so why not just use stateful widget all the time?
@RobertShresthawolf
@RobertShresthawolf Жыл бұрын
I did not look so hard 😂
@jaysardar1
@jaysardar1 2 ай бұрын
thank you
Flutter State Management: Riverpod | Provider, but different
8:29
Learn Flutter with Me
Рет қаралды 9 М.
Самый Молодой Актёр Без Оскара 😂
00:13
Глеб Рандалайнен
Рет қаралды 12 МЛН
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 134 МЛН
Summer shower by Secret Vlog
00:17
Secret Vlog
Рет қаралды 12 МЛН
Stateless e Stateful Widgets e Ciclo de Vida | Curso de Flutter
8:32
Prof. Diego Antunes
Рет қаралды 9 М.
Stateless vs. Stateful | Flutter Basics
7:37
Tadas Petra
Рет қаралды 12 М.
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 38 М.
Stateful vs Stateless Applications (Explained by Example)
14:44
Hussein Nasser
Рет қаралды 197 М.
Stateful vs Stateless Architecture - System Design Basics
8:47
Cloud Advocate
Рет қаралды 101 М.
Don't throw exceptions in C#. Do this instead
18:13
Nick Chapsas
Рет қаралды 255 М.
Avoid using StatefullWidget!
3:50
Codrut Erdei
Рет қаралды 8 М.
React Native vs Flutter in 2024 - Make the RIGHT Choice (Difference Explained)
10:31
Daniel Dan | Tech & Data
Рет қаралды 158 М.
Stateful vs Stateless Applications
7:41
Mehul - Codedamn
Рет қаралды 23 М.
Dart/Flutter Enums Explained in 5 Minutes!
4:52
Learn Flutter with Me
Рет қаралды 3,9 М.
Самый Молодой Актёр Без Оскара 😂
00:13
Глеб Рандалайнен
Рет қаралды 12 МЛН