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

Поділитися
Вставка
  • Опубліковано 20 чер 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
  • Наука та технологія

КОМЕНТАРІ • 137

  • @MohsinKhan-lu6kc
    @MohsinKhan-lu6kc 3 роки тому +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  3 роки тому +13

      Wrap column in singlechildscrollview or falsify the property resizeToAvoidBottomInset

    • @dangdatraymonddelmut3230
      @dangdatraymonddelmut3230 3 роки тому +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  3 роки тому +11

      Sorry I missed it.

    • @emmanuelolajubu4144
      @emmanuelolajubu4144 2 роки тому +1

      @@EasyApproach does it work for desktop or web

    • @AbdulMalik-uw1hy
      @AbdulMalik-uw1hy 2 роки тому

      Use list view no column

  • @usr829
    @usr829 Рік тому

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

  • @deanjackson3238
    @deanjackson3238 2 роки тому +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 Рік тому +1

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

  • @bluyetiinc7553
    @bluyetiinc7553 3 роки тому +12

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

    • @EasyApproach
      @EasyApproach  3 роки тому

      Thanks. Please subscribe the channel :)

  • @swayamshreemohantyvlogs8126
    @swayamshreemohantyvlogs8126 2 роки тому +2

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

  • @hamzakhan-un3yd
    @hamzakhan-un3yd Рік тому

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

  • @marctre9004
    @marctre9004 6 місяців тому +1

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

  • @divinemaredi4138
    @divinemaredi4138 2 роки тому +1

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

  • @rezwansaki
    @rezwansaki 10 місяців тому +1

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

  • @mr___rapp
    @mr___rapp Рік тому +2

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

  • @kyrieirving6301
    @kyrieirving6301 Рік тому

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

  • @berkcan3475
    @berkcan3475 2 роки тому +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

  • @samiulislam_live
    @samiulislam_live 2 роки тому +1

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

  • @ucminhnguyen7522
    @ucminhnguyen7522 2 роки тому +1

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

  • @user-qt2cv7cv2f
    @user-qt2cv7cv2f Рік тому +1

    I really needed this tutorial. Thanks

  • @Socialifly
    @Socialifly 9 місяців тому

    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 3 роки тому +1

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

  • @MyDanish100
    @MyDanish100 3 роки тому +3

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

  • @iamuzairaslam
    @iamuzairaslam 2 роки тому +3

    JUST LOVED IT!

  • @newbee936
    @newbee936 6 місяців тому +1

    Thanks alot ... it was a great help

  • @GAMEOLOGIST
    @GAMEOLOGIST 2 роки тому

    Nice Tutorial !! Easy to understand !!

  • @iliyamirzaei1860
    @iliyamirzaei1860 2 роки тому

    It was very helpful, thanks! ❤️

  • @darkyassin
    @darkyassin 2 роки тому +1

    What about landscape? Does it adjust it automatically?

  • @sheikhraj7434
    @sheikhraj7434 2 роки тому

    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.

  • @clashwithfaizz9861
    @clashwithfaizz9861 2 роки тому

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

  • @jaimonga420
    @jaimonga420 Рік тому

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

  • @Mahmoudery
    @Mahmoudery 3 місяці тому

    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?

  • @ameernajath3613
    @ameernajath3613 Рік тому +1

    Perfect Tutorial 👍

  • @hassantariq6645
    @hassantariq6645 2 роки тому +1

    Thank you so much you are doing very well 🥰

  • @ffstrom5100
    @ffstrom5100 Місяць тому

    this packege work on tablete and i pad apps??

  • @golammaulla7236
    @golammaulla7236 2 роки тому +2

    Amazing. Can you make another video responsive UI

  • @lpfboyka561
    @lpfboyka561 2 роки тому

    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

  • @fikkyardianto
    @fikkyardianto 10 місяців тому

    what if the device turn on orientation to landscape?

  • @prathamgajjar6125
    @prathamgajjar6125 Рік тому +1

    This is plain AMAZING

  • @novysandhu5193
    @novysandhu5193 3 роки тому +1

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

  • @emmanuelolajubu4144
    @emmanuelolajubu4144 2 роки тому +1

    Does it work for desktop or web??

  • @listenermurindashiri8020
    @listenermurindashiri8020 2 роки тому +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.

  • @cromuelbarut9859
    @cromuelbarut9859 2 місяці тому

    awesome tutorial

  • @pinacolada6936
    @pinacolada6936 6 місяців тому +1

    Thank you in advance!!❤❤

  • @HassanAli-od8gx
    @HassanAli-od8gx Рік тому +1

    Great tutorial.

  • @saifazam5838
    @saifazam5838 Рік тому

    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. )

  • @mythoughts121
    @mythoughts121 2 роки тому

    Why tablet button text is Signup account instead of Google

  • @NithinKavali
    @NithinKavali 2 роки тому

    Why didn't you change the height of TextField?

  • @bikerboyankush
    @bikerboyankush 2 роки тому +2

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

  • @mhddedekyansyah4720
    @mhddedekyansyah4720 2 роки тому

    How to device on lanscape? What's collapse?

  • @rishi2220
    @rishi2220 3 роки тому +6

    The name suggests what the channel do, REALLY!

  • @baluch6925
    @baluch6925 2 роки тому

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

  • @readtogether-podcast
    @readtogether-podcast Рік тому

    This is amazing!

  • @vishvamurthy8089
    @vishvamurthy8089 3 роки тому +2

    Thank you so much bro. Very helpfull

  • @Mahmoudery
    @Mahmoudery 5 місяців тому

    Insightful.

  • @natheeshkumar
    @natheeshkumar 2 роки тому

    Great !!! 🤗

  • @thalapathyyugamofficial1970
    @thalapathyyugamofficial1970 2 роки тому

    Thanks alot bro❤️

  • @khurshidddbek
    @khurshidddbek 2 роки тому

    Thank you very much.

  • @firazyn.
    @firazyn. 2 роки тому

    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!

    • @naveennirban
      @naveennirban 6 місяців тому

      Wrap MaterialApp by ScreenUtil

  • @devaref2461
    @devaref2461 2 роки тому

    I hop another video using media query

  • @blueice1364
    @blueice1364 2 роки тому

    Thank you!

  • @yunismaruf
    @yunismaruf Рік тому

    Thank you,

  • @daniwaxman6016
    @daniwaxman6016 9 місяців тому

    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 5 місяців тому

      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

  • @restaurantrecipebyhafsa
    @restaurantrecipebyhafsa 11 місяців тому +1

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

  • @abc867
    @abc867 3 роки тому +1

    Thanks for this video🙂

    • @EasyApproach
      @EasyApproach  3 роки тому

      My pleasure 😊 Subscribe the channel :)

  • @jorgwei8590
    @jorgwei8590 2 роки тому

    You sold me the package at 8:17 :)

  • @shamnadchemmu7222
    @shamnadchemmu7222 2 роки тому

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

  • @YousifEZZi
    @YousifEZZi 11 місяців тому

    thanks a lot

  • @nadislat
    @nadislat Рік тому

    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 10 місяців тому +1

      use LayoutBuilder if u making for web

  • @ReZxNextra
    @ReZxNextra 2 роки тому +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 2 роки тому +2

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

    • @markdioneeb8997
      @markdioneeb8997 2 роки тому +1

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

    • @deepakrattan2328
      @deepakrattan2328 2 роки тому

      @@markdioneeb8997 Yes you are right. Agree with you

  • @1RRaider
    @1RRaider 2 роки тому +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 5 місяців тому

      i doubt . stack has it own rules

    • @1RRaider
      @1RRaider 5 місяців тому

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

  • @bhakinkhantarjeerawat8163
    @bhakinkhantarjeerawat8163 2 роки тому

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

    • @EasyApproach
      @EasyApproach  2 роки тому

      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

  • @riadhhs4378
    @riadhhs4378 2 роки тому +1

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

    • @baluch6925
      @baluch6925 Рік тому

      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

  • @rezwansaki
    @rezwansaki 10 місяців тому

    Please, make another tutorial like this.

  • @asib9894
    @asib9894 2 місяці тому

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

  • @tuyenvan382
    @tuyenvan382 2 роки тому +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

  • @ariuntsetsegmunhtulga3732
    @ariuntsetsegmunhtulga3732 2 роки тому

    Thanks lot

  • @dangdatraymonddelmut3230
    @dangdatraymonddelmut3230 3 роки тому +4

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

    • @RohanKumar-gm6zj
      @RohanKumar-gm6zj 3 роки тому +1

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

    • @victoressien8742
      @victoressien8742 Рік тому

      Invariably you can use ListView within the scaffold

  • @deenadayalan3073
    @deenadayalan3073 3 роки тому +3

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

    • @EasyApproach
      @EasyApproach  3 роки тому +1

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

    • @deenadayalan3073
      @deenadayalan3073 3 роки тому +1

      @@EasyApproach sure, subscribed

  • @shakshorsarker3418
    @shakshorsarker3418 8 місяців тому

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

    • @mikewest557
      @mikewest557 5 місяців тому

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

  • @mehmetpeker9047
    @mehmetpeker9047 2 роки тому

    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 2 роки тому

      Just put the dimensions of your phone display

    • @szyszak9424
      @szyszak9424 10 місяців тому

      @@GAMEOLOGIST the emulator right?

  • @MoAdel92
    @MoAdel92 Рік тому

    my design broke in landscape mode

  • @AiEnthusiast999
    @AiEnthusiast999 3 роки тому +1

    excellent

    • @EasyApproach
      @EasyApproach  3 роки тому

      Thanks. Please subscribe the channel :)

  • @rezaasgary1442
    @rezaasgary1442 3 роки тому +1

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

    • @outcast9229
      @outcast9229 3 роки тому +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 3 роки тому

      @@outcast9229 thank you

  • @RKN998
    @RKN998 2 роки тому

    i love you

  • @chrise202
    @chrise202 2 роки тому

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

  • @habilkhan1771
    @habilkhan1771 2 роки тому

    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

  • @turbogoose64
    @turbogoose64 2 роки тому

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

    • @EasyApproach
      @EasyApproach  2 роки тому

      Not forcing you

    • @turbogoose64
      @turbogoose64 2 роки тому +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.

  • @anisurrehman4274
    @anisurrehman4274 3 місяці тому

    totally time waste becuos material app not working

  • @justiceli5762
    @justiceli5762 Рік тому

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

  • @firazyn.
    @firazyn. 2 роки тому +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 Рік тому +1

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

    • @mikewest557
      @mikewest557 5 місяців тому

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