How to Make Responsive Flutter Apps, Pixel Perfect

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • Using scale to make it responsive
    Join the Design 2 Flutter Challenge at: / challenge_1_social_med...
    Download start project here: github.com/happyharis/social_...
    Join the Discord Group: discord.learnfluttercode.com
    👉 Subscribe to our weekly Flutter newsletter:
    learnfluttercode.com/newsletter
    📱 Pre Sign Up to Learn Flutter App :
    learnfluttercode.com/app
    Check out our website - learnfluttercode.com/
    🔥 Check out our courses -
    🖼 Learn Flutter Code Instagram:
    / learn.flutter.code
    🖼 Learn Flutter Code Facebook:
    / learn.flutter.code
    Haris's LinkedIn - / haris-samingan-7889b9140
    Haris's Twitter - / thehappyharis
    ⏰ Timeline:
    00:00 - Introduction
    05:37 - Breakdown of User Stats UI
    06:07 - Spread Operator
    08:46 - Test with iPhone Pro Max 11
    13:50 - Summary
  • Věda a technologie

Komentáře • 31

  • @isurujn
    @isurujn Před 2 lety +6

    This is a great series. Learned quite a lot. I wish these types of videos continued.

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

    i was searching for these explanation for months. I'm glad you came with it

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

    Thanks great explanation

  • @YandryPozo
    @YandryPozo Před 2 lety

    That perfect pixel plugin is pure gold 🪙
    Thanks for sharing, excellent video 👌

  • @1995taunus
    @1995taunus Před 3 lety

    Thank you!

  • @Opeyemi.sanusi
    @Opeyemi.sanusi Před 3 lety +4

    More responsive videos please 🙏🏿

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

    Can we calculate mockupWidth and mockupHeight dynamic because you have set this for only iPhone 11 pro but I need pixel perfect in all devices.

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

    great tutorial

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

    Safearea has a minimum parameter which could technically be used instead of padding.

  • @i5c5e5n8
    @i5c5e5n8 Před 2 lety +6

    do you have any idea how flutter handles this while maintaining image quality? does it apply an antialiasing algorithm?
    also, do you know if this is good performance-wise or not?

  • @freakout6764
    @freakout6764 Před 3 lety

    thank you

  • @SahilKhan-uj7iw
    @SahilKhan-uj7iw Před 3 lety

    It will work for sizebox heigth or any heigth parameter how can we use it for heigth of widget for responsive ness

  • @FreddyRFebres
    @FreddyRFebres Před 2 lety

    What is the add-on used to only remark the error line with it message instead of the entire widget?

  • @hexafgamer
    @hexafgamer Před rokem

    its perfect design but what we do other phone resolution ?

  • @m.tirtarachmanmahieu3406

    interested! subscribe, thanks dude this video really help full 👍🏻

  • @evolade4044
    @evolade4044 Před 2 lety

    Background music?

  • @momenahmed6839
    @momenahmed6839 Před rokem

    The same ratio in text /mocup then * width
    To the test scale width /mocup

  • @awais.16
    @awais.16 Před 3 lety +5

    How to adjust that picture according to our screen , so that it fits according to our screen height and width

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

      Try to use Fittedbox it might help

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

      You can use fit: BoxFit.fill or BoxFit.cover (this is better option), and FittedBox is most likely to use with Text widgets.

  • @Ali-cb3xt
    @Ali-cb3xt Před 3 lety

    👍👍🔥

  • @melomanzer5508
    @melomanzer5508 Před 3 lety

    God bless you

  • @DarkHeros09
    @DarkHeros09 Před 3 lety

    Adding padding before scaffold results in black bars from all the sides. any solutions?

    • @OzzyOzmenCelik
      @OzzyOzmenCelik Před 2 lety

      u should follow scaffold - safe area (top:false , bottom:false) - padding - etc...

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

    This scale factor like text scaling should be called Adaptive not Responsive.

  • @ericchua3492
    @ericchua3492 Před 3 lety

    iPhone 12 pro works fine, but not iPhone 12 pro max.. ouch!

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

    i didn't like, cause u need exactly the size of the screens.. it would be nice if just take the dispositive viewports and make the calculus automaticly

    • @i5c5e5n8
      @i5c5e5n8 Před 2 lety

      do you have any resource that explains how to do that??

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

    Didn’t like the pixel perfect approach… It doesn’t look professional

    • @charith2967
      @charith2967 Před 3 lety

      May I know what are the other ways to achieve this. Any url?

  • @navasjaseer7508
    @navasjaseer7508 Před rokem

    Hh