Good video series. I saw 2 people purposefully dislike all the videos without checking the content within it. It's too bad. This is a great informative video series for new technology. Keep going...
Thank you for the video. I was very confused about stateful widget before. This video gave me clear cut understanding of the stateful widget. I had been surfing all over the internet and none of them was understandable to me. Finally, I found this channel and it's too good👌👌👌 Kudos to the team
Nice tutor video thank you for that first, one doubt in this session, when we call the setState function, as you told the whole widget is destroyed & recreated but how comes the textView value remain same (what we typed)?
Hey man, awesome playlist! I am really learning from zero pretty quickly thanks to you! Keep up the amazing work! You are the best! I will indeed seek for you in Udemy! More the worthy subscribe for your courses!
Thank you very much for the high-quality tutorials! I have two questions for you if you would like to answer them : 1. what is the purpose of the convention of writing the _FavoriteCityState with the"_" to keep it private to our library? 2. when using "onChanged" instead of "onSubmitted", does this mean that when we type a word, consisting of 5 letters for example, 5 widgets are destroyed and created? (-> is this bad for performance?)
From Dart Docs: Unlike Java, Dart doesn’t have the keywords public, protected, and private. If an identifier starts with an underscore (_), it’s private to its library. For details, see Libraries and visibility.
Actually the text widget is already executed with your bixt city is but as name is NULL there no text other than your bixt city is ,, after executing setState we have name ="mumbai" so it's new redrawn state will be your bixt city is mumbai
i tried your code, then i saw this strange error on the logcat : com.example.flutter_app E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length. Any idea why this is happening ?
i am getting an exception. The app keeps pausing and i have to play it again like 3 times before it starts working normally. I get a methodchannel.invokemethod exception with like 18 more stacks. It works well on android studio but not on vs code.
Because favcity is a widget object whose internal state has changed. So if any widget changes within the favcity widget you need to set state to reflect changes. Your query is why did we redraw entire favcity widget, why not just Text, we that's not possible. We cannot just redraw Text widget. We need to redraw whole favcity widget. If you just want to redraw Text widget then you might have to create a separate stateful widget that will contain only Text as child, which will lead to creating a lot of stateful widgets within stateful widget, which is practically not possible.
I have accepted your comment. But for a large application, redrawing the entire screen for each user input is not a good idea. For example, in a search screen, each search query will redraw the entire screen may cause a huge headache. I think we need to use some more OOPS concepts in here. Also, need to follow some design patterns guideline for building the widgets in a generic way.
Good video series. I saw 2 people purposefully dislike all the videos without checking the content within it. It's too bad. This is a great informative video series for new technology. Keep going...
Unbelievable explanation itni complex bat itni easily smjha di Thanks bro
Thank you for the video. I was very confused about stateful widget before. This video gave me clear cut understanding of the stateful widget. I had been surfing all over the internet and none of them was understandable to me. Finally, I found this channel and it's too good👌👌👌 Kudos to the team
Learning in quarantine 👌👌
Thank you for the tutorial helped me with understanding better the StatefulWidget
My basic concept about flutter and mobile application, if cleared , reason only one this video series.
Please explain about Context, thanks :)
your way of explaining is good.
Thank you.
Best explanation yet. Wow.
I understood this StatefulWidget clearly.
Wonderful explanation , go ahead , your doing well. Thank
Excellent Tutorial. Congratulations!!!
Nice tutor video thank you for that first, one doubt in this session, when we call the setState function, as you told the whole widget is destroyed & recreated but how comes the textView value remain same (what we typed)?
awesome but have a question that we cannot change appbar during run time then why we put it in the stateful widget?
Hey man, awesome playlist! I am really learning from zero pretty quickly thanks to you! Keep up the amazing work! You are the best!
I will indeed seek for you in Udemy! More the worthy subscribe for your courses!
Loved your video
Is it possible to add Bloc Concepts. Google recommends Bloc for building apps.
Thank you very much for the high-quality tutorials!
I have two questions for you if you would like to answer them :
1. what is the purpose of the convention of writing the _FavoriteCityState with the"_" to keep it private to our library?
2. when using "onChanged" instead of "onSubmitted", does this mean that when we type a word, consisting of 5 letters for example, 5 widgets are destroyed and created? (-> is this bad for performance?)
From Dart Docs:
Unlike Java, Dart doesn’t have the keywords public, protected, and private. If an identifier starts with an underscore (_), it’s private to its library. For details, see Libraries and visibility.
why are we using underscore in the front of naming.. what is mean by that ?
Thank You Very Much.
Little confused, why isn't text field getting empty after submission, as you said it regenerates the entire UI.
Actually the text widget is already executed with your bixt city is but as name is NULL there no text other than your bixt city is ,, after executing setState we have name ="mumbai" so it's new redrawn state will be your bixt city is mumbai
very nice video all cleared.....
Thanks man.
i tried your code, then i saw this strange error on the logcat : com.example.flutter_app E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length. Any idea why this is happening ?
The widget will be redrawn after all the code in the setState() body is executed?
i am getting an exception. The app keeps pausing and i have to play it again like 3 times before it starts working normally. I get a methodchannel.invokemethod exception with like 18 more stacks. It works well on android studio but not on vs code.
ok i fixed it. thanks. your tutorials are the best
helpfull video
thanks a lot,
I don't understand why we have to redraw AppBar, Title, TextField ... where the unique change is in our text?.
Because favcity is a widget object whose internal state has changed. So if any widget changes within the favcity widget you need to set state to reflect changes.
Your query is why did we redraw entire favcity widget, why not just Text, we that's not possible. We cannot just redraw Text widget. We need to redraw whole favcity widget. If you just want to redraw Text widget then you might have to create a separate stateful widget that will contain only Text as child, which will lead to creating a lot of stateful widgets within stateful widget, which is practically not possible.
I have accepted your comment. But for a large application, redrawing the entire screen for each user input is not a good idea. For example, in a search screen, each search query will redraw the entire screen may cause a huge headache. I think we need to use some more OOPS concepts in here. Also, need to follow some design patterns guideline for building the widgets in a generic way.
Why do we use $ after the variables?
Its the expression so that the compiler know that its a variable name not a normal String
Awesome!!!!
Was waiting for your comment since morning 😉
Hold on, too fast.