Flutter Tutorial for Beginners #11 - Rows

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024
  • Hey gang, in this Flutter tutorial I'll explain we can start to put more than 1 widget on a page by using rows (the Row widget!).
    ----------------------------------------
    🐱‍💻 🐱‍💻 Course Links:
    Course files - github.com/iam...
    Android Studio - developer.andr...
    Git - git-scm.com/do...
    Flutter Installation - flutter.dev/do...
    🐱‍💻 🐱‍💻 Other Related Courses:
    + Modern JavaScript Tutorial - www.udemy.com/...

ความคิดเห็น • 154

  • @aryankumar87771
    @aryankumar87771 4 ปีที่แล้ว +224

    After a few tutorials, I have realized that a good teacher can make a world of a difference.

    • @techzone2009
      @techzone2009 4 ปีที่แล้ว +2

      How is Aliya Bhatt after sadak 2 😂😂😂😂

    • @divineforever8691
      @divineforever8691 3 ปีที่แล้ว

      @@techzone2009 lol

    • @notmanyideas
      @notmanyideas 3 ปีที่แล้ว +1

      pancakeswapper XD nice name

  • @girishbhargava6367
    @girishbhargava6367 ปีที่แล้ว +56

    Just a tip, if you are using the latest version of flutter, you'll have to use TextButton instead of FlatButton, as the former is deprecated.

    • @thebigdeal170
      @thebigdeal170 ปีที่แล้ว +2

      How do we color the buttons is my Question

    • @meesalarushiketh7308
      @meesalarushiketh7308 ปีที่แล้ว +4

      @@thebigdeal170
      child: FlatButton(
      onPressed: () {},
      child: Text("Welcome"),
      style: FlatButton.styleFrom(
      primary: Colors.amber[100],
      ),
      ),

    • @jayaatkakkar2701
      @jayaatkakkar2701 ปีที่แล้ว

      is there any shorter way for color??
      @@meesalarushiketh7308

    • @Idanofthings
      @Idanofthings 9 หลายเดือนก่อน +1

      @@thebigdeal170 Use the style property,
      TextButton(
      onPressed: null,
      style: ButtonStyle(
      backgroundColor: MaterialStatePropertyAll(Colors.amber)
      ),
      child: Text("Click me"),
      ),

    • @bensosfrequents
      @bensosfrequents หลายเดือนก่อน

      Also ElevatedButton instead of RaisedButton

  • @ClintPaul89
    @ClintPaul89 4 ปีที่แล้ว +56

    I just make sure I don't skip any ads coming on this videos and try my best to click on each one of them. This is like the simplest tutorial ever. Thank you :)

    • @NetNinja
      @NetNinja  4 ปีที่แล้ว +7

      Thanks so much Clint :D

    • @solomon5050
      @solomon5050 3 ปีที่แล้ว +3

      Hey this super idea man!!! one of the way to express our gratitude. Me also will do the same for Net Ninja now on.....!!!

    • @Ziad-Al
      @Ziad-Al 2 ปีที่แล้ว +2

      I am doing the same! this great tutorials and teaching are amazing and this man deserves to be compensated!

    • @antoniofuller2331
      @antoniofuller2331 2 หลายเดือนก่อน

      ​@@Ziad-Alobviously

  • @TheKristenMC
    @TheKristenMC 4 ปีที่แล้ว +22

    I'm tearing all my soul out, this level of explanation is amazing :')
    Excellent work and I'm considering myself a Flutter developer because of this videos and you Sir
    I deeply appreciate it and I thank you with all my due heart

  • @amirhoseinsalari5391
    @amirhoseinsalari5391 4 ปีที่แล้ว +9

    Anytime I feel depressed, I play this video and jump to 0:21 =))
    Well done man.

  • @darkriderMC
    @darkriderMC 5 ปีที่แล้ว +27

    So cool that they adopted the flex way of doing it. So much easier for web devs to learn it.

    • @lokeshpadmanabhan8465
      @lokeshpadmanabhan8465 5 ปีที่แล้ว +1

      Yes bro it's much easier

    • @leondaz7380
      @leondaz7380 4 ปีที่แล้ว +2

      I saw the commet before watching the video & I got super happy to know that it will be the same rows of bootstrap, etc....

    • @shakeelali9418
      @shakeelali9418 2 หลายเดือนก่อน

      no its not easy, i am a react native developer and recat native is alot more easy than this

  • @marc7951
    @marc7951 3 ปีที่แล้ว +5

    Thank you very much. I wanted to learn flutter and it was depressing for me because I thought it is so hard to learn, but your tutorials are perfect it's so easy to understand.
    Keep doing this!

  • @ahmedarduino4089
    @ahmedarduino4089 3 ปีที่แล้ว +5

    This is the first time that I click on the ''LIKE'' Button befor watching, even I don't understand English well!! Thank you very much :The Net Ninja

    • @NetNinja
      @NetNinja  3 ปีที่แล้ว +2

      Thank you! 😃

  • @spaprune
    @spaprune ปีที่แล้ว +1

    Rarely does anyone communicate concepts more clearly than this fine gentleman.

  • @tothzoltan2539
    @tothzoltan2539 3 ปีที่แล้ว +4

    Really this series is better than some paid courses out there. You're a great teacher.

  • @OttoVanluchene
    @OttoVanluchene 4 ปีที่แล้ว +10

    I'm learning Flutter over the weekend - this is great

  • @rorymon1132
    @rorymon1132 2 ปีที่แล้ว +2

    Not only is the tutorials amazing, but I could listen to your voice for hours man.

  • @Pratik1996shinde
    @Pratik1996shinde 3 ปีที่แล้ว +4

    My company suddenly moved me from native development to flutter, I was worried that I'd need long time to learn. I'm watching your videos just from yesterday and feeling confident already.
    Thanks alot for this playlist mate, you saved me👍

  • @avinashchaubey4958
    @avinashchaubey4958 6 หลายเดือนก่อน

    your teaching way is very aggressive. And clear all the basic problem in your all video. So thank you so much sir.

  • @melvar1309
    @melvar1309 5 ปีที่แล้ว +5

    Hello, I've been trying to learn flutter a couple of months now, and this tutorial is the best, finally I'm starting to understand how everything works. Thanks!

  • @reggieholm6245
    @reggieholm6245 หลายเดือนก่อน

    Im here in 2024 to say there is a difference between those who KNOW and those who KNOW AND CAN TEACH AS WELL.
    Thank you Sir. This is great stuff

    • @NetNinja
      @NetNinja  หลายเดือนก่อน

      Awesome, thanks Reggie! :)

  • @astridcariina
    @astridcariina 3 ปีที่แล้ว +2

    Thank you that helped a lot! Just started with flutter yesterday. I am actual a profressional Software Developer but my work is mainly with java and hybris so flutter is a whole new thing for me. Thanks for the good explanation (:

  • @superriorfatherazwadwa
    @superriorfatherazwadwa 4 ปีที่แล้ว +4

    oh my god, i'm shocked that Flutter made it easier to do flexing. i'm already fell in love with it!

  • @RahulSharma-ke7wg
    @RahulSharma-ke7wg 3 ปีที่แล้ว +1

    You are a good teacher, you are the one who is teaching me every basics details .thanks for this for slow learner like me.

  • @jeeedeee7351
    @jeeedeee7351 3 ปีที่แล้ว +2

    Thank you for this tutorual bro

  • @fahimraza8856
    @fahimraza8856 3 ปีที่แล้ว +1

    it was an amazing experience, thank you THE Net Ninja for your relentless effort.

  • @ajithprakash00
    @ajithprakash00 4 ปีที่แล้ว +1

    I love flutter now. You're the reason.

  • @shupesmerga4694
    @shupesmerga4694 4 ปีที่แล้ว +16

    Him: "this is now a children widget and it is now a..."
    My brain: HA! EZ! That's an array!
    Him: a LIST...
    *brain left the chat*

    • @andreranulfo-dev8607
      @andreranulfo-dev8607 4 ปีที่แล้ว

      Arrays are old technology. Lists are arrays 2.0.

    • @wassafshahzad8618
      @wassafshahzad8618 3 ปีที่แล้ว +1

      @@andreranulfo-dev8607 True but I think most programmers a have mental model of equating and array to a list,all of them do know the difference and implementations details but it a matter of semantics I think

  • @idlevandal69
    @idlevandal69 4 ปีที่แล้ว +28

    0:21 Tada button 😆

    • @dharmang
      @dharmang 4 ปีที่แล้ว

      Ye lmao funny xD

  • @Nastaliss
    @Nastaliss 4 ปีที่แล้ว +1

    Just wanted to say I really appreciate your flutter tutorials!
    Even though I already know several front-end framework your guide is does not beat around the bush and is very accurate.
    I'm still watching in 1.5 speed on some parts but overall congrats man.

  • @SINGLE___k
    @SINGLE___k ปีที่แล้ว

    I'm from India Tamil Nadu your teaching very nice and l can learn to easily 😊❤

  • @syedmuhammadtalha4588
    @syedmuhammadtalha4588 3 ปีที่แล้ว

    I was about to quite programming then I started watching your videos you are teaching it in a very simple way thankyou brother.

  • @oladejiekundayo9177
    @oladejiekundayo9177 3 ปีที่แล้ว +1

    Its officially been 1 year since my 12 year-old started to learn to code and he has been stuck on web designing for a while and wondering how to go about app development, thankfully you've helped him move to the next level. But he has a question... do widgets have an order of precedence that should be followed?. e.g can a Row widget be nested in a Container widget?. Thanks again Shaun

  • @karthiksundar9710
    @karthiksundar9710 4 ปีที่แล้ว +5

    Can we percentage instead of pixels to get a responsive layout for all screens or is it responsive already

  • @melrok1
    @melrok1 3 ปีที่แล้ว +1

    2021 and still the best tutorial on flutter :-)

  • @shahriarrahmankhannehal1354
    @shahriarrahmankhannehal1354 4 ปีที่แล้ว +1

    Thank you so much for your beautiful explanation. It's a great pleasure, watching your tutorials. Before watching these videos, I never tried to understand, what's going on inside. But now, the way you have explained from scratch, simply, I am literally enjoying as I feel like I am exploring everything!

  • @raphaelansahowusu5813
    @raphaelansahowusu5813 4 ปีที่แล้ว

    Ninja, i cant just go on to another video without liking a video....i wish we could give more than 1 like, you would have gotten million likes from me.....i almost gave up on flutter but your tutorials are unmatched...........God bless your time and effort

  • @michaelmcelligott5074
    @michaelmcelligott5074 ปีที่แล้ว +4

    There are a couple thing that have changed, maybe most notably the TextButton instead of FlatButton and the necessity to use a ButtonStyle() widget to set the background color of a button (for me, I can't just put color: within the TextButton widget). If you want to see some code for it, I put some of the necessary code on the video #9 of this series, Buttons and Icons. Happy coding!

    • @farahtorkhani5013
      @farahtorkhani5013 ปีที่แล้ว

      where i can find those codes? thanku so much im having the same problems

    • @michaelmcelligott5074
      @michaelmcelligott5074 ปีที่แล้ว +1

      @@farahtorkhani5013 Hello...I'll copy and paste the comment I had put in Video #9, hope it helps:
      Flutter changes too quickly! When he adds a color property to the FlatButton (which is now called TextButton, as many commentors pointed out), the TextButton class no longer allows you to simply add a color parameter, it's a longer process. After a bit of hair-pulling, this is the code that eventually gave me what I wanted (remember to edit it to be whatever color you desire):
      TextButton(
      onPressed: null,
      style: ButtonStyle(
      backgroundColor: MaterialStatePropertyAll(Colors.amber),
      child: .........(your code here)
      To change the style of the button, the class ButtonStyle is used within the ElevatedButton widget, and then to set a background color you have to use this MaterialStatePropertyAll widget, which you then nest the color inside of as you see above. After trying various methods and getting a lot of errors messages, I'm pretty sure this is how it must be done now. Let me know if anyone has a simpler method!

    • @lava5936
      @lava5936 ปีที่แล้ว

      Thank you sm i have the same problem!

    • @jarkots654
      @jarkots654 11 หลายเดือนก่อน

      thank you for existing

  • @naveen.n3457
    @naveen.n3457 4 ปีที่แล้ว +1

    I really like this tutorial.

  • @alialacan7774
    @alialacan7774 4 ปีที่แล้ว +1

    This series is being free is just amazing! Thanks a lot

  • @lokeshmahant1061
    @lokeshmahant1061 4 ปีที่แล้ว +1

    The best tutorial ever had...... 😍

  • @nirmalkumar9142
    @nirmalkumar9142 4 ปีที่แล้ว +1

    That tada at 0:22 was nice😅

  • @masterwayne9790
    @masterwayne9790 ปีที่แล้ว

    I'm now confident with this framework after few basics.

  • @elifyldrm1034
    @elifyldrm1034 4 ปีที่แล้ว +1

    i started to learn flutter yesterday and i can understand it well with this tutorial series. you are amazing, thank you very much for the videos ! ^^

  • @gintoki_sakata__
    @gintoki_sakata__ 8 หลายเดือนก่อน

    0:20 that "tadaa" caught me off guard 😂

  • @aminabudahab
    @aminabudahab 3 ปีที่แล้ว

    The quality of your tutorials is top notch, I'd be happy paying for them

  • @dexterchewy
    @dexterchewy 3 ปีที่แล้ว +1

    my widget overflowed. how do i avoid that? using the Wrap function?

  • @chimkinpatty9147
    @chimkinpatty9147 ปีที่แล้ว +1

    These tutorials are so good ! Better than my teacher

  • @arshaddanish766
    @arshaddanish766 3 ปีที่แล้ว

    His teaching is just incredible !!!

  • @varunmeta
    @varunmeta 3 ปีที่แล้ว +1

    That 'TADA....'. Fun and Learn, what more could you ask for? :)

  • @bensosfrequents
    @bensosfrequents หลายเดือนก่อน

    For a person who have understands flex boxes in CSS this becomes too simple for them, this is same as flex-direction: row, for the main axists is the same as justify-content, cross axists same as align-items and so on. Thanks for this tutorial

  • @saddiqhamisu3540
    @saddiqhamisu3540 2 ปีที่แล้ว +1

    Hello. Whenever i try creating ‘children’ list doesnt work. It doesnt add the ‘’ before ‘[ ]’. When i add it manually it shouts error. Please assist. Thanks

    • @computerman4441
      @computerman4441 ปีที่แล้ว

      hello bro i got same problem you can add (const) before '[ ]' the problem will be solve

  • @andreranulfo-dev8607
    @andreranulfo-dev8607 4 ปีที่แล้ว

    Flutter is life.

  • @abhilashchakravarty4053
    @abhilashchakravarty4053 4 ปีที่แล้ว +2

    In the CrossAxisAlignment section, when I try using baseline object, it gives some kinda error. Could you please explain why? Also, great playlist to learn Flutter! Thanks a lot!

  • @EthanZemelman
    @EthanZemelman 4 ปีที่แล้ว +1

    Is the only way to add multiple widgets with tables?

  • @vasuvallabh5220
    @vasuvallabh5220 4 ปีที่แล้ว +1

    You are just great, I am in love with flutter.

  • @vinodkumar283
    @vinodkumar283 4 ปีที่แล้ว +1

    That's an awesome tutorials..... I'm enjoying it, serious learning too. Thanks bud!

  • @BhanteSubhuti
    @BhanteSubhuti 3 ปีที่แล้ว +1

    Very clear and useful tutorials...

  • @michelhakim6307
    @michelhakim6307 2 ปีที่แล้ว +1

    Thanks for this nice course :) !

    • @NetNinja
      @NetNinja  2 ปีที่แล้ว +1

      You're very welcome :) thanks for your support Michel!

  • @timothynathanael2475
    @timothynathanael2475 4 ปีที่แล้ว +2

    hei, i have a question, when you do the cross axis alignment, when you choose to put those on the top or bottom, why does the button still have some space from the top and the bottom, i thought it was because of margin but then i realize that you don't put any kind of margin attribute there

    • @user-vx1yr9vi3z
      @user-vx1yr9vi3z 3 ปีที่แล้ว

      Timothy Nathanael Hello man, just wondering, did you find the answer to this one? This thing is really odd. Maybe the button just has its own margin?

  • @thomasleclech2917
    @thomasleclech2917 3 ปีที่แล้ว

    Best tutorial series I've found! Thank you!

  • @austinlim1647
    @austinlim1647 3 ปีที่แล้ว +1

    these videos are so so helpful thank you

  • @dowletaydogdyyew6360
    @dowletaydogdyyew6360 4 ปีที่แล้ว +3

    excelent tutorial Thank You!

  • @madiyarabdukhashimov8570
    @madiyarabdukhashimov8570 4 ปีที่แล้ว +1

    Thank you very much, you explained them so well.

  • @srinathsathyanath7435
    @srinathsathyanath7435 4 ปีที่แล้ว

    Your lessons are just excellent !
    Thank you for uploading these videos

  • @maddyIncubus
    @maddyIncubus 11 หลายเดือนก่อน

    very good set of tutorials man.. watching the basics playlist. One question on this particular vid, what happens if u have say 10 children instead of 3 ? they overlap, get squeezed, something else ? Flutter feels a bit like a chimera - the alignments remind me of CSS flex box, structure reminds me of early versions of React without JSX and some inconsistencies like some places string and other places Text() widget is used other similar things

  • @prayagmisal9744
    @prayagmisal9744 ปีที่แล้ว

    As we can't use FlatButton, we can now use textButton but, we can't give color to the textbutton. So, we can't use button with color in row?

  • @dhyeyparekh4994
    @dhyeyparekh4994 2 หลายเดือนก่อน

    when you do start in cross axis why the yellow button has some space left while others are perfectly attached to the top?

  • @sergeylogachev1442
    @sergeylogachev1442 2 ปีที่แล้ว

    Thank you for these videos! I really understand all the that you teaching us!

  • @thomasp3543
    @thomasp3543 3 ปีที่แล้ว

    You have a very nice and relaxing speaking voice :) thanks for the tutorials!

  • @lucasverrier9699
    @lucasverrier9699 3 ปีที่แล้ว +1

    ninja thank you
    just a perfect course !!!

  • @douaneamar5931
    @douaneamar5931 3 ปีที่แล้ว

    Best Teacher. thanks bro

  • @ahmedyousif4782
    @ahmedyousif4782 2 หลายเดือนก่อน

    Thanks man, you are the best

  • @othmaneelkarmy6671
    @othmaneelkarmy6671 3 ปีที่แล้ว

    thank you for this awesome series ,I'd like to ask you a question about how we can use MainAxisAlignment.values.

  • @divineforever8691
    @divineforever8691 3 ปีที่แล้ว

    'all right gang' , well so satisfactory to listen :)

  • @betsegawweldemariam6930
    @betsegawweldemariam6930 2 ปีที่แล้ว

    Perfectly Explained...!

  • @nicholaspap8145
    @nicholaspap8145 4 ปีที่แล้ว

    Thanks for the series it was very helpful to me!

  • @d.o.p.a1526
    @d.o.p.a1526 3 ปีที่แล้ว

    i paid 12$ for learning flutter online and here i am .............thanks net ninja

  • @mokhdesigns9589
    @mokhdesigns9589 5 ปีที่แล้ว +2

    the best ever

  • @kahanx10
    @kahanx10 2 ปีที่แล้ว

    I love this ninja!

  • @JimmyVaqueiro
    @JimmyVaqueiro 4 ปีที่แล้ว +1

    Hi! Quick question, why is it that when you do CrossAxisAlignment.start there's a space above the button? Is it the button's margin? Btw, thank you for such an amazing tutorial !

  • @YousefAboAnNour
    @YousefAboAnNour 2 ปีที่แล้ว

    Thank you hope you get more and more famous

  • @yacine_re4257
    @yacine_re4257 4 ปีที่แล้ว

    Thanks Bro for this amizing illustration :)

  • @aamilsilawat3069
    @aamilsilawat3069 4 ปีที่แล้ว +1

    Great..... I become ninja

  • @saravanasai2391
    @saravanasai2391 3 ปีที่แล้ว +1

    on later flutter flatbutton is depracted guys can use TextButton instead of it

  • @InMemoryOfNeo
    @InMemoryOfNeo 3 ปีที่แล้ว

    I smiled at 0:21 :D

  • @mohammadalhayani5932
    @mohammadalhayani5932 3 ปีที่แล้ว

    thank u sir❤️, great tutorial

  • @FakhruddinKararawala
    @FakhruddinKararawala 3 ปีที่แล้ว

    Awesome. Keep up the good work.

  • @rakharuan
    @rakharuan 4 ปีที่แล้ว

    thank you for all of this

  • @brngylni
    @brngylni 3 ปีที่แล้ว

    Wow I am becoming a Ninja

  • @Yoruking189
    @Yoruking189 4 ปีที่แล้ว

    8:13 Why does the amber button have some space when crossAxisAlignment: CrossAxisAlignment.start

  • @onlypatel6705
    @onlypatel6705 3 ปีที่แล้ว

    I am getting parameter format not correct error, but the app was working just fine few days back, please help me

  • @amoeed
    @amoeed 3 ปีที่แล้ว

    So FlatButton is deprecated, how can we use TextButton ?

  • @AStarinTech
    @AStarinTech 3 ปีที่แล้ว

    OK I am getting an error with the CrossAxisAlingment.baseline pls explain this part............

  • @santoshpoudel1853
    @santoshpoudel1853 ปีที่แล้ว

    you are just awsome

  • @user-cm7vx6yx2v
    @user-cm7vx6yx2v 8 หลายเดือนก่อน

    yooo nice man thxx

  • @DanaKurdi
    @DanaKurdi 4 ปีที่แล้ว

    Thank You .

  • @sharshuwuu
    @sharshuwuu 3 ปีที่แล้ว

    can you please make the videos not 60fps it lags when I'm using both youtube and android studio at the same time

    • @coby7398
      @coby7398 3 ปีที่แล้ว

      try h264ify web extensions you can block 60fps

  • @funcloud1866
    @funcloud1866 4 ปีที่แล้ว

    You're the best!

  • @DevCops
    @DevCops 5 ปีที่แล้ว +3

    Now Android Dev is Similar to Web DEV YO

  • @dharmang
    @dharmang 4 ปีที่แล้ว

    3:52 Wayy to happy 😜

  • @shaaficialli4284
    @shaaficialli4284 3 ปีที่แล้ว

    what is the spaceevenly?

  • @2chotti
    @2chotti 11 หลายเดือนก่อน

    Brilliant

  • @zaheemschemnad5377
    @zaheemschemnad5377 2 ปีที่แล้ว

    Thankyou!

  • @manishachaudhari2071
    @manishachaudhari2071 4 ปีที่แล้ว

    Did anyone aware of the gradle assemble error.. Whenever I am trying to create a new app this error is continuously occurring.