I just want to thank you netninja! We're doing a mobile app using flutter, and we don't know anything about mobile developing. You are a life saver! Thank you for the free course! 11/10!
Since Flutter 2.5.0 on, a new button set has been replaced for RaisedButton with ElevatedButton, FlatButton with TextButton and OutlineButton with OutlinedButton.
Perfect series. The only reason why I get premium RUclips for downloading your Playlist :) thanks for the flutter series. I hope you keep adding new flutter tutorials. Thanks again Best regards.
for new Flutter version you need ElevatedButton, and it needs a style. add this as a local variable, preferably above counter. final ButtonStyle raisedButtonStyle = ElevatedButton.styleFrom( onPrimary: Colors.black87, primary: Colors.grey[300], minimumSize: Size(88, 36), padding: EdgeInsets.symmetric(horizontal: 16), shape: const RoundedRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(2)), ), ); then use ElevatedButton like body: ElevatedButton( style: raisedButtonStyle, onPressed: () { setState(() { counter += 1; });; }, child: Text('counter is $counter'), ), //ElevatedButton ); //Scaffold
I just wanted to say a huge thank you. I am not really in a position to subscribe to your patreon but I just want to say I really appreciate these tutorials and they have made my week in lockdown very enjoyable!
Hehe this is much easier when you know react beforehand :p InitState = componentDidMount Build = componentDidUpdate Dispose = ComponentDidUnmount I wish someday Google include Hooks to Flutter too :p
i wonder if we just create every page as a stateless widget and only its inner widgets that we want to change as stateful would improve performance a lot... because like in tbhe video, we are reloading the whole page and we just want one button to change over time so making only the button stateful wouldn't it be better? thank u in advance and for this amazing series. ive been loving it so far!
I am not that good at object-oriented programming but, I know basic stuff. I had to rewatch the quotes applications' tutorial again and again and I kinda understand it now. Still not clear but, hope someday I'll be good at it. Should I worry about not being able to understand that?. Also thanks for these awesome videos.
Hey. Same here. Watching the videos and sometimes I worry about not understanding the quotes application better. Should I really need to worry? Or should I just continue. Now that I think you have watched all the videos and working on a app on your own.
I understand that initstate function will implement data once, but I still don't understand why we should use the intitstate, it's not clear to me till now, Shaun, can you help me with that?
Really great videos I must say, thank you! I just wonder what the initState function is for? I out commented that one and everything was doing what it was supposed to. So why do I need the initState function?
What are the differences/implications of putting the counter increment *before* the setState() call rather than inside it? They both work the same, afaik.
how can i catch that a route/widget is being shown again on screen , when i do Navigator.pop() when popping it shows the anterior route, but doesn't trigger build or initState , it simply showing an old built widget , which has lost its data because of memory management ( which i would recover on a build() or initState, if it was called )
I didn't get it: how did the button change if we hadn't given it a key arg? Without a key argument our widget should be updated, but not rewritten on the screen, isn't it so?
@@wearecode9199 True....I agree with you 1000%, but most colleges are still teaching java and kotlin because either they are not aware of the existence of flutter or don't have staff qualified enough to teach it, which is why I really think people like the net ninja are doing an excellent job teaching on a platform like youtube and making their content available to a wide audience.
@@hvtarun7030 Yup that's right, but if you think about it if it takes longs to introduce something new into an educational system, then that new will become old, so we will always learn what's old and not quite suitable to the market :) a bit of a paradox there lol
Hopefully someone can help answer. I have followed along just fine and everything works, but my print statement when clicking the button only prints every so often. The counter updates and the button text is updated every single time, but the "build function ran" print statement only prints maybe every 3-5 seconds. If I double click or triple click the button, the numbers increase properly, but the print statement doesn't run. Is there a reason for this? I clicked 11 times and only got 3-4 print statements out of it. Not a big deal as all the real functionality seems to be fine, just curious.
most likely memory utilisation management or something , because why run the function 10 times , when you can run it 3 or 4 times and get the same result , a neat feature I might add
Your tutorials are very very good. But you talk too much. Even saying same thing again and again. I think you should focus on talking less. Just describe once, run app, show what happens, that's it. You don't need to describe again after run. Thanks for your efforts.
I just want to thank you netninja! We're doing a mobile app using flutter, and we don't know anything about mobile developing. You are a life saver! Thank you for the free course! 11/10!
I haven't commented yet, but now i have to say man your tutorials are addictive.Literally I could not stop watching your series.
Great work!!!!
Thanks so much! Glad you like them! :)
Since Flutter 2.5.0 on, a new button set has been replaced for RaisedButton with ElevatedButton, FlatButton with TextButton and OutlineButton with OutlinedButton.
Why would they do this to us? :D
Perfect series. The only reason why I get premium RUclips for downloading your Playlist :) thanks for the flutter series. I hope you keep adding new flutter tutorials. Thanks again Best regards.
for new Flutter version you need ElevatedButton, and it needs a style.
add this as a local variable, preferably above counter.
final ButtonStyle raisedButtonStyle = ElevatedButton.styleFrom(
onPrimary: Colors.black87,
primary: Colors.grey[300],
minimumSize: Size(88, 36),
padding: EdgeInsets.symmetric(horizontal: 16),
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(2)),
),
);
then use ElevatedButton like
body: ElevatedButton(
style: raisedButtonStyle,
onPressed: () {
setState(() {
counter += 1;
});;
},
child: Text('counter is $counter'),
), //ElevatedButton
); //Scaffold
thanks bro this should be at the top!
Best Flutter tutorial series I have ever seen, thanks for sharing.
After 23 videos, I've started to just press the like button at the beginning of the video
Thanks so much :)
Why? The series was good from the very beginning.
I just wanted to say a huge thank you. I am not really in a position to subscribe to your patreon but I just want to say I really appreciate these tutorials and they have made my week in lockdown very enjoyable!
From Pakistan
I love the way you explains things, crystal clear 🖤🖤💙💙 stay blessed
I am addicted to this series. Thanks for making flutter interesting buddy.
Glad to hear it! :) thanks for watching
amazing videos bruh....
RUclips needs to suggest this to anyone who searches for flutter
Quick FYI -- 1:55 - you said that Build() is called a lot in a Stateless widget, when I think you meant Stateful.
You are correct, thank you!
lmao
Love from Algeria !
Text( ' Awesome work ! ' )
Please do not put spaces before punctuation marks :-)
Love += 1; // from Algeria
@@psyhonut why not !
I dont know how to express my feelings...But your teaching style is awesome++++++++++++++++++++++++++++++..Thankyou!!so much!!
"The Routs is a pathway to many possibilities, some consider to be..unnatural”;
Thanks for the tutorials. You do a great job man! Thank you!
love from INDIA ♥♥♥
show the support from India guys 🎇🎈🎇
Great series , Really helped me to get started with Flutter
Everything explained very well. Thank you Sir.
No one:
Shaun: Boasts how TODO is a great feature in Android Studio only to not use it.
Awesome work.....i like all your videos(i am 12 and i am learning flutter and some other programming langs) and you are an awesome teacher!!!!!!
Awesome! Thanks so much, and I think it's awesome you are just 12 and learning all this :D
@@NetNinja Thanks
Hehe this is much easier when you know react beforehand :p
InitState = componentDidMount
Build = componentDidUpdate
Dispose = ComponentDidUnmount
I wish someday Google include Hooks to Flutter too :p
Well Said
i wonder if we just create every page as a stateless widget and only its inner widgets that we want to change as stateful would improve performance a lot... because like in tbhe video, we are reloading the whole page and we just want one button to change over time so making only the button stateful wouldn't it be better? thank u in advance and for this amazing series. ive been loving it so far!
Loving this series.
Great to hear!
Same concept as react Dom updating. Thanks sir.
that video was a good one man. hugely appreciate the explanation. Love the way you teach
Glad it was helpful! :) thanks for watchng
God bless you man, great teacher💯
I appreciate that! :) thanks
Dispose would be
@override
void dispose() {
// TODO: implement dispose
super.dispose();
print('dispose');
}
one of the best explanations. thanks a lot
Best Tut. Ever , working with it
I am not that good at object-oriented programming but, I know basic stuff. I had to rewatch the quotes applications' tutorial again and again and I kinda understand it now. Still not clear but, hope someday I'll be good at it. Should I worry about not being able to understand that?. Also thanks for these awesome videos.
Hey. Same here. Watching the videos and sometimes I worry about not understanding the quotes application better. Should I really need to worry? Or should I just continue. Now that I think you have watched all the videos and working on a app on your own.
Thanks you , you are awesome ,struggling for these concepts now all clear !!!
I understand that initstate function will implement data once, but I still don't understand why we should use the intitstate, it's not clear to me till now, Shaun, can you help me with that?
your work is Awesome. I really enjoy every video...
hello Shawn, can you tell me based on your youtube statistics, how many people from Jamaica watched this playlist???
Really great videos I must say, thank you! I just wonder what the initState function is for? I out commented that one and everything was doing what it was supposed to. So why do I need the initState function?
fantastic! great lesson!
Thanks! 😃
best sensei in the world
Love from china! too good to be free.
Thumbs up, clean explanation, thank you!
this man is amazing ever
Man - you are fantastic!
So we should write our own code below the super... in the initState() method? Then why is the //TODO comment automatically added above it?
What are the differences/implications of putting the counter increment *before* the setState() call rather than inside it? They both work the same, afaik.
how can i catch that a route/widget is being shown again on screen , when i do Navigator.pop()
when popping it shows the anterior route, but doesn't trigger build or initState ,
it simply showing an old built widget , which has lost its data because of memory management ( which i would recover on a build() or initState, if it was called )
Great series
Sir plz make a tutorial on firebase with flutter
Working on it :)
Followed steps exactly but at 6:39, got this error for counter - Undefined name 'counter'
i also got error
check at the 6:00 minute
Can we make stateful widget inside stateless widget?
I need to plant a farm of likes for your course Sir.
I didn't get it: how did the button change if we hadn't given it a key arg? Without a key argument our widget should be updated, but not rewritten on the screen, isn't it so?
Nice videos, i really enjoyed all f them, please is there an IDE for flutter development?
god bless you man
amazing tutorial
I like this video.
Keep it up! I have already learned so much :D
Great video my friend. Thank you👍
why didn't you include the rest of the lifecycle methods? like didChangeDependencies etc.
Thanks a lot :)
Anyone knows ? do they teach flutter in Uni's ? great videos btw !
No, I don't think they do, they only teach android development with Java and kotlin
@@hvtarun7030 Nope. Uclan Uk started to teach Flutter. My professor said hopefully from next year in my Uni too.
@@hvtarun7030 I mean, It's not that I don't like Android - but it's pointless learning just 50% of the market
@@wearecode9199 True....I agree with you 1000%, but most colleges are still teaching java and kotlin because either they are not aware of the existence of flutter or don't have staff qualified enough to teach it, which is why I really think people like the net ninja are doing an excellent job teaching on a platform like youtube and making their content available to a wide audience.
@@hvtarun7030 Yup that's right, but if you think about it if it takes longs to introduce something new into an educational system, then that new will become old, so we will always learn what's old and not quite suitable to the market :) a bit of a paradox there lol
Very nice tutorial s
When I type “init”, I don’t have the suggestion how come?
Theory in between practicals 😳
I am trying to add the counter function, but it keeps giving me an error of " undefined name".
hello !!
excuse me the variable counter shows as an undefined name could you help me !!!!!
youaregreat!
thanks!
very good content.... me likey
2:30
Sir, please tell me the extension of vs code for flutter
'flutter' and also 'dart'
Amazing n_n !!!!!!!!!!
Hopefully someone can help answer.
I have followed along just fine and everything works, but my print statement when clicking the button only prints every so often.
The counter updates and the button text is updated every single time, but the "build function ran" print statement only prints maybe every 3-5 seconds. If I double click or triple click the button, the numbers increase properly, but the print statement doesn't run.
Is there a reason for this?
I clicked 11 times and only got 3-4 print statements out of it.
Not a big deal as all the real functionality seems to be fine, just curious.
most likely memory utilisation management or something , because why run the function 10 times , when you can run it 3 or 4 times and get the same result , a neat feature I might add
Your tutorials are very very good. But you talk too much. Even saying same thing again and again.
I think you should focus on talking less. Just describe once, run app, show what happens, that's it. You don't need to describe again after run.
Thanks for your efforts.
He's always super clear.
Being slightly redundant, sometimes, is a good thing.
Well, not everyone can understand from hearing once xD