Flutter Tutorial - Super Quick Way To Create Pixel Perfect Responsive UI

Sdílet
Vložit
  • čas přidán 20. 06. 2021
  • In this is Flutter tutorial, I have discussed how we can convert the design in to real Responsive Flutter Application using some tricks.
    GitHub : github.com/themaaz32/responsi...
    Design Courtesy : Asma Riaz (dribbble.com/therightasma)
    SUBSCRIBE THE CHANNEL.
    SUPPORT ME:
    Buy me Coffee : www.patreon.com/user?u=56943416
    FOLLOW ME:
    Twitter : / maazaftab1
    Facebook : / themaaz32
    Instagram : maazaftab
    LinkedIn : / themaaz32
    FOR PROJECT INQUIRY CONTACT:
    Email : easyaproach555@gmail.com
  • Věda a technologie

Komentáře • 138

  • @MohsinKhan-lu6kc
    @MohsinKhan-lu6kc Před 3 lety +38

    You are using column in the screen full of text fields, imagine user clicks on the text field keyboard pops up, either he will not be able to scroll or he'll be getting render flex errors because the widgets are not closed in expanded or flexible. Correct me if I am wrong.

    • @EasyApproach
      @EasyApproach  Před 3 lety +13

      Wrap column in singlechildscrollview or falsify the property resizeToAvoidBottomInset

    • @dangdatraymonddelmut3230
      @dangdatraymonddelmut3230 Před 3 lety +5

      Exactly the issue I had and I felt misled ! With the title of this video you should have considered this. Nice video tho

    • @EasyApproach
      @EasyApproach  Před 3 lety +11

      Sorry I missed it.

    • @emmanuelolajubu4144
      @emmanuelolajubu4144 Před 2 lety +1

      @@EasyApproach does it work for desktop or web

    • @AbdulMalik-uw1hy
      @AbdulMalik-uw1hy Před 2 lety

      Use list view no column

  • @bluyetiinc7553
    @bluyetiinc7553 Před 3 lety +12

    Amazing tutorial. Best one I have found with respect to responsive design. Really makes it straightforward. Thank you. Subscribed.

  • @swayamshreemohantyvlogs8126

    Just amazing man. This package and your tutorial are just save me.

  • @divinemaredi4138
    @divinemaredi4138 Před 2 lety +1

    Thanks a lot! This plugin is exactly what I was looking for!

  • @usr829
    @usr829 Před rokem

    Really Great Explanation. Please upload more flutter-related videos. Our support is always there

  • @deanjackson3238
    @deanjackson3238 Před 2 lety +1

    Thanks alot, you saved me alot of time later, first time using flutter, i thought is was doing it auto, but after testing on multiple devices, the result are sometime terribles, thanks to you, now it is solved !

  • @HassanAli-od8gx
    @HassanAli-od8gx Před rokem +1

    Straightforward explaination that is what i like the most, Channel Subscribed.👍

  • @hamzakhan-un3yd
    @hamzakhan-un3yd Před rokem

    Great video ❤️ very well explained. Was finding this kind of tutorial for a long time.

  • @kyrieirving6301
    @kyrieirving6301 Před rokem

    Such a good explain. You did a really good video mate.Thank you very much!

  • @samiulislam_live
    @samiulislam_live Před 2 lety +1

    Excellent tutorial. Thank you so much for this content. Really helped me a lot.

  • @rezwansaki
    @rezwansaki Před 10 měsíci +1

    This is awesome tutorial. Easy and perfect. Thanks for this tutorial

  • @marctre9004
    @marctre9004 Před 6 měsíci +1

    Thanks so much for the tutorial...thought my app won't be fixed ...been looking for a better solution ...thanks so much

  • @user-qt2cv7cv2f
    @user-qt2cv7cv2f Před rokem +1

    I really needed this tutorial. Thanks

  • @mr___rapp
    @mr___rapp Před rokem +2

    Thank you, I am a rookie battling with render flex errors, I am sure this will save me from that

  • @iamuzairaslam
    @iamuzairaslam Před 2 lety +3

    JUST LOVED IT!

  • @ucminhnguyen7522
    @ucminhnguyen7522 Před 2 lety +1

    it's like your name, easy to understand. thank u so much

  • @newbee936
    @newbee936 Před 6 měsíci +1

    Thanks alot ... it was a great help

  • @iliyamirzaei1860
    @iliyamirzaei1860 Před 2 lety

    It was very helpful, thanks! ❤️

  • @MyDanish100
    @MyDanish100 Před 3 lety +3

    I am new to flutter and looking forward to learn lot from you ❤️. Subscribed ❤️❤️

  • @GAMEOLOGIST
    @GAMEOLOGIST Před 2 lety

    Nice Tutorial !! Easy to understand !!

  • @ameernajath3613
    @ameernajath3613 Před rokem +1

    Perfect Tutorial 👍

  • @prathamgajjar6125
    @prathamgajjar6125 Před rokem +1

    This is plain AMAZING

  • @hassantariq6645
    @hassantariq6645 Před 2 lety +1

    Thank you so much you are doing very well 🥰

  • @pinacolada6936
    @pinacolada6936 Před 6 měsíci +1

    Thank you in advance!!❤❤

  • @HassanAli-od8gx
    @HassanAli-od8gx Před rokem +1

    Great tutorial.

  • @berkcan3475
    @berkcan3475 Před 2 lety +3

    amazing plugin thank you for sharing it, can you make a video about how to scale everything in landscape device, maybe checking ration and adding white borders to left and right that would be superb and enable many developers to port app to web

  • @cromuelbarut9859
    @cromuelbarut9859 Před 2 měsíci

    awesome tutorial

  • @readtogether-podcast
    @readtogether-podcast Před rokem

    This is amazing!

  • @rishi2220
    @rishi2220 Před 3 lety +6

    The name suggests what the channel do, REALLY!

  • @vishvamurthy8089
    @vishvamurthy8089 Před 3 lety +2

    Thank you so much bro. Very helpfull

  • @natheeshkumar
    @natheeshkumar Před 2 lety

    Great !!! 🤗

  • @bikerboyankush
    @bikerboyankush Před 2 lety +2

    excellent tutorial.. thanks! it would be great if you make a comprehensive video about null safety too..

  • @golammaulla7236
    @golammaulla7236 Před 2 lety +2

    Amazing. Can you make another video responsive UI

  • @thalapathyyugamofficial1970

    Thanks alot bro❤️

  • @Mahmoudery
    @Mahmoudery Před 5 měsíci

    Insightful.

  • @khurshidddbek
    @khurshidddbek Před 2 lety

    Thank you very much.

  • @blueice1364
    @blueice1364 Před 2 lety

    Thank you!

  • @abc867
    @abc867 Před 3 lety +1

    Thanks for this video🙂

    • @EasyApproach
      @EasyApproach  Před 3 lety

      My pleasure 😊 Subscribe the channel :)

  • @yunismaruf
    @yunismaruf Před rokem

    Thank you,

  • @Socialifly
    @Socialifly Před 9 měsíci

    Amazing way to explain. What will happen if the screen size is small like 5 inch phone and as the design suggests there is no scrolling will that work or we need to add scroll as well

  • @dipaligupta838
    @dipaligupta838 Před 3 lety +1

    Will it also work if I change the orientation to landscape ?

  • @darkyassin
    @darkyassin Před 2 lety +1

    What about landscape? Does it adjust it automatically?

  • @YousifEZZi
    @YousifEZZi Před 11 měsíci

    thanks a lot

  • @devaref2461
    @devaref2461 Před 2 lety

    I hop another video using media query

  • @listenermurindashiri8020
    @listenermurindashiri8020 Před 2 lety +1

    sir am just new to flutter and eager to know am seing that you are doing a great job.I need help on how TO CREATE A DISEASE DETECTION MOBILE APPLICATION.

  • @sheikhraj7434
    @sheikhraj7434 Před 2 lety

    I wanna buy a new mac for building the flutter app as you did, here I wanna know what configuration you recommend for this i low budget.I will be very thankful to you for this.

  • @ariuntsetsegmunhtulga3732

    Thanks lot

  • @jorgwei8590
    @jorgwei8590 Před 2 lety

    You sold me the package at 8:17 :)

  • @AiEnthusiast999
    @AiEnthusiast999 Před 3 lety +1

    excellent

  • @novysandhu5193
    @novysandhu5193 Před 3 lety +1

    i'm getting this error "LateInitializationError: Field '_instance@1114075166' has not been initialized." ????????????????????????????????

  • @Mahmoudery
    @Mahmoudery Před 3 měsíci

    I am having a corner case while working with this package. So the problem is that when I call setState method on a stateful widget, the whole layout size just changes, the containers get smaller after rebuilding the tree, anyone knows how to encounter this problem with a proper solution?

  • @jaimonga420
    @jaimonga420 Před rokem

    It's not working with device size 1080 x 1920 (Moto G5s Plus), any idea?

  • @rezwansaki
    @rezwansaki Před 10 měsíci

    Please, make another tutorial like this.

  • @clashwithfaizz9861
    @clashwithfaizz9861 Před 2 lety

    if i rotate my screen it occurs renderflex error on bottom , any remedies for this

  • @firazyn.
    @firazyn. Před 2 lety

    Hello, I would like to ask something about this. Do I have to reinitialize the ScreenUtil for the B page when I just navigated from the A page? Or, I have to pass the context from the A page? Or, I just have to use .sw and .sh instead of .h and .w?
    If I have to reinitialize, what is the best way to do it? Thanks in advance!

  • @lpfboyka561
    @lpfboyka561 Před 2 lety

    are you using apple M1 processor? just asking since u have good emulator there.. my emulator didn't even have a frame since the processor is new... If yes pls tell me how u can get the emulator ty

  • @saifazam5838
    @saifazam5838 Před rokem

    Assalamualaykum brother @EasyApproach I want to ask you if I working on Figma size 360/640, So will I have to choose a specific emulator with a screen size same as Figma ya can I work on any emulator screen(320/590. )

  • @emmanuelolajubu4144
    @emmanuelolajubu4144 Před 2 lety +1

    Does it work for desktop or web??

  • @fikkyardianto
    @fikkyardianto Před 10 měsíci

    what if the device turn on orientation to landscape?

  • @ffstrom5100
    @ffstrom5100 Před měsícem

    this packege work on tablete and i pad apps??

  • @ReZxNextra
    @ReZxNextra Před 2 lety +2

    What if we were making widgets on different screens? After initializing screenutilinit with the design size on the main dart file. How to make use of it on other dart files?

    • @markdioneeb8997
      @markdioneeb8997 Před 2 lety +2

      @@deepakrattan2328 You're completely wrong!!! no need to do that, all widgets inside material app will inherit ScreenUtilInit

    • @markdioneeb8997
      @markdioneeb8997 Před 2 lety +1

      All the Widgets inside MaterialApp will inherit screenutilinit , no need to wrap it in all widgets

    • @deepakrattan2328
      @deepakrattan2328 Před 2 lety

      @@markdioneeb8997 Yes you are right. Agree with you

  • @restaurantrecipebyhafsa
    @restaurantrecipebyhafsa Před 11 měsíci +1

    i am getting this error The argument type 'MaterialApp Function()' can't be assigned to the parameter type 'Widget Function(BuildContext, Widget?)'.......why?

  • @1RRaider
    @1RRaider Před 2 lety +1

    Thank u for this. Assuming you're using stack to place widgets on each other, is there a way to apply this package too?

    • @mikewest557
      @mikewest557 Před 6 měsíci

      i doubt . stack has it own rules

    • @1RRaider
      @1RRaider Před 6 měsíci

      Dude I asked that question 2 years ago. I obviously have a better understanding now​@@mikewest557

  • @deenadayalan3073
    @deenadayalan3073 Před 3 lety +3

    Amazing. Will it work if I change the orientation to landscape right?

    • @EasyApproach
      @EasyApproach  Před 3 lety +1

      Well TBH I didn't try. Let me know too when you try.
      Also subscribe the channel!

    • @deenadayalan3073
      @deenadayalan3073 Před 3 lety +1

      @@EasyApproach sure, subscribed

  • @mythoughts121
    @mythoughts121 Před 2 lety

    Why tablet button text is Signup account instead of Google

  • @asib9894
    @asib9894 Před 2 měsíci

    You should share this figma UI project with us. Then we will practice on this project.

  • @dangdatraymonddelmut3230
    @dangdatraymonddelmut3230 Před 3 lety +4

    I am getting renderflex error when I want to type something in the input field. Nice video

    • @RohanKumar-gm6zj
      @RohanKumar-gm6zj Před 3 lety +1

      I think you can use the resizeToAvoidBottomInset: false, in scaffold to avoid error

    • @victoressien8742
      @victoressien8742 Před rokem

      Invariably you can use ListView within the scaffold

  • @nadislat
    @nadislat Před rokem

    Thank you so much! Excellent video. I also tried it on desktop and web but got the widgets pretty big 😂and the overflow error. I think that for desktop and web should be use other approach, or other screen size.

    • @szyszak9424
      @szyszak9424 Před 11 měsíci +1

      use LayoutBuilder if u making for web

  • @tuyenvan382
    @tuyenvan382 Před 2 lety +1

    Thank you for the video. But I see in figma there is also a LineHeight property of text that you didn't mention in the video

  • @daniwaxman6016
    @daniwaxman6016 Před 9 měsíci

    Great video! I am finding that the display is not sized in proportion on iPhone 13 mini. The type is too large for the display. Is there something I am doing wrong that can be causing this?

    • @mikewest557
      @mikewest557 Před 6 měsíci

      i hope you specified the .sp for the type? the .sp is the trick. if not, something must done with the spacing around the parent of the text widget

  • @NithinKavali
    @NithinKavali Před 2 lety

    Why didn't you change the height of TextField?

  • @mhddedekyansyah4720
    @mhddedekyansyah4720 Před 2 lety

    How to device on lanscape? What's collapse?

  • @baluch6925
    @baluch6925 Před 2 lety

    It's giving an error after the latest update of flutter

  • @shamnadchemmu7222
    @shamnadchemmu7222 Před 2 lety

    bro .. don't we need to use screenutil.setcontext(context); in each builder ??

  • @riadhhs4378
    @riadhhs4378 Před 2 lety +1

    If i'm not using a design can i just put in my testing device size ?

    • @baluch6925
      @baluch6925 Před rokem

      use the recommendation size which is given on the pkg docs which is Size(360, 690), don't use your physical mobile width and height

  • @bhakinkhantarjeerawat8163

    May I know which program you used to record the screen? My Windows Laptop is less clear than you.

    • @EasyApproach
      @EasyApproach  Před 2 lety

      It is not just about software. I am using macbook, and it has higher resolutions. But you can still try software OBS for screen recording

  • @mehmetpeker9047
    @mehmetpeker9047 Před 3 lety

    What is the size unit?
    I read documentation but i dont understand.
    //Set the fit size (Find your UI design, look at the dimensions of the device screen and fill it in,unit in dp)
    What is dp?
    Device pixel or density-independent pixels (dp)

    • @GAMEOLOGIST
      @GAMEOLOGIST Před 2 lety

      Just put the dimensions of your phone display

    • @szyszak9424
      @szyszak9424 Před 10 měsíci

      @@GAMEOLOGIST the emulator right?

  • @RKN998
    @RKN998 Před 2 lety

    i love you

  • @shakshorsarker3418
    @shakshorsarker3418 Před 8 měsíci

    what will be the design ratio if i have not any figma design?

    • @mikewest557
      @mikewest557 Před 6 měsíci

      i think this approach is for designs already mocked up in a design software like figma

  • @rezaasgary1442
    @rezaasgary1442 Před 3 lety +1

    Thank you so mutch ,by the way how this package actually calculate size , does anyone know?

    • @outcast9229
      @outcast9229 Před 3 lety +4

      if the padding is 25 on screen of width 360 ' that for the original design '
      what would the padding be on screen of 600
      well it's simply Ratio:
      (25 / 360) = 6,94%
      we got the ratio ' 6,94% of the total width '
      Then what is the 6,94% of 600 ? => 41,67
      the padding 41.67 is also 6,94% of 600
      So no matter what screen's dimension are the ration will place things in the correct place regarding to the original design

    • @rezaasgary1442
      @rezaasgary1442 Před 3 lety

      @@outcast9229 thank you

  • @MoAdel92
    @MoAdel92 Před rokem

    my design broke in landscape mode

  • @turbogoose64
    @turbogoose64 Před 2 lety

    this is great but i couldn't possibly subscribe to a channel that pushes an ad every 60 seconds

    • @EasyApproach
      @EasyApproach  Před 2 lety

      Not forcing you

    • @turbogoose64
      @turbogoose64 Před 2 lety +1

      @@EasyApproach mate, I'm not having a dig, take this as feedback. If I think this way, so do a thousand others. Reduce your ad frequency and you'll get loads more subscribers (and ultimately more ad revenue) because your content is good.

  • @chrise202
    @chrise202 Před 2 lety

    Rotating the screen horizontally, the proportions look quite crappy tbh. Good try though!

  • @habilkhan1771
    @habilkhan1771 Před 2 lety

    dear sir this is not a responsive Ui because when we rotate your mobile phone the you will got bottom overflow so thats why i said that this is not a responsive UI

  • @anisurrehman4274
    @anisurrehman4274 Před 3 měsíci

    totally time waste becuos material app not working

  • @Akua-hx3rb
    @Akua-hx3rb Před dnem

    Yikes.. this is not professional way of coding Flutter.

  • @justiceli5762
    @justiceli5762 Před rokem

    Thanks for your contribution
    Thanks for your contribution to flutter_screenutil - the author of flutter_screenutil

  • @firazyn.
    @firazyn. Před 2 lety +1

    Hello, I would like to ask something about this. Do I have to reinitialize the ScreenUtil for the B page when I just navigated from the A page? Or, I have to pass the context from the A page? Or, I just have to use .sw and .sh instead of .h and .w?
    If I have to reinitialize, what is the best way to do it? Thanks in advance!

    • @matthiasimegi8211
      @matthiasimegi8211 Před rokem +1

      No, you don't have to initialize for B page

    • @mikewest557
      @mikewest557 Před 6 měsíci

      replying in the year 2024: but if doesn't work, intialise it