Padding, ViewPadding, and ViewInsets, Oh My! | Decoding Flutter

Sdílet
Vložit
  • čas přidán 17. 01. 2022
  • Overwhelmed by Padding, ViewPadding, and ViewInsets on the MediaQuery class? Ever struggled to adjust your UI when the system keyboard appears? Craig Labenz has you covered with a primer on all the ways Flutter measures system obstructions in your UI.
    DartPad demo → goo.gle/3qrgmoH
    MediaQuery documentation → goo.gle/3zwQKcV
    Get started with Flutter → goo.gle/Flutter
    Learn more about the Dart Language → goo.gle/2YF9OCi
    Watch more Decoding Flutter episodes → goo.gle/DecodingFlutter
    Don’t miss an episode, subscribe to Flutter → goo.gle/FlutterYT
    #DecodingFlutter #Flutter #Developer
    product: Flutter - Development - User interface;
  • Věda a technologie

Komentáře • 39

  • @filiphracek
    @filiphracek Před 2 lety +30

    Ok Craig, this was both super useful and hilarious. I actually LOL'd twice. Thanks for brightening my evening!

  • @philosophia5577
    @philosophia5577 Před 10 měsíci +4

    I'm gonna watch it on loop for at least 10 times

  • @wembleyleach
    @wembleyleach Před rokem

    I've had to watch this video about 5 times, but I finally got it. Thanks for sharing Craig!

  • @letscode4277
    @letscode4277 Před 2 lety +23

    Keep up the good work .. i like the way you simplify things . Thank you !

  • @otuekong
    @otuekong Před 2 lety

    EXACTLY WHAT I WAS LOOKING FOR!! ❤️❤️

  • @HillelCoren
    @HillelCoren Před 2 lety +4

    Really enjoying the "Decoding Flutter" series of videos, thanks for another great one!!

  • @NotTheRealEru
    @NotTheRealEru Před 2 lety +4

    Great explanation, thanks! keep up the great work!!

  • @NiranjanND
    @NiranjanND Před rokem +1

    Best series

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

    Such a clever video.

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

    Thanks, I got it.

  • @buck-johnson
    @buck-johnson Před 2 lety +1

    Thanks, great explanation.

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

    Thanks for the dartPad example !

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

    Thanks for the video!

  • @fahidsarker4858
    @fahidsarker4858 Před 2 lety

    Can you make a video regarding the compile-time optimizations flutter do (if any). So, for the if(Platform.isAndroid){} here does this gets compiled into the ios build or is that code removed? Also, what about a plugin which has not been used for a specific platform?

  • @hossamelsayed4441
    @hossamelsayed4441 Před 2 lety

    I loved your way keep going ❤️❤️

  • @ibrahimhassan7894
    @ibrahimhassan7894 Před rokem

    so can we use that way to resize and position the keyboard to ?

  • @TheJaniable
    @TheJaniable Před 2 lety

    really useful!

  • @milanjovic8325
    @milanjovic8325 Před 2 lety

    Good video ... and humor 🙂

  • @hasanalfath8517
    @hasanalfath8517 Před 2 lety

    Great job

  • @abelfernandosangamaonate9605

    Super el video 😀🔥🔥🔥

  • @chaitanyabharatdokara4978

    DartPad Example is great!!!

  • @thefamousdjx
    @thefamousdjx Před 2 lety

    Please make a video on building an apk. Its so frustrating to spend soo much time weeks and months only to fail at the "flutter build apk" command. I've never seen this addressed and its been an issue for years. Following the flutter docs only leads to errors. Been struggling all day trying to fix errors with no luck

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

      Build with Android Studio, if you struggle that much.
      There is not much of difference between flutter and native android prerequisites.

  • @fixitDart
    @fixitDart Před rokem

    How to keep keyboard opened?, though there is no textField???

  • @BeardedBong
    @BeardedBong Před 2 lety

    atleast he's honest

  • @abhinovpankaj1
    @abhinovpankaj1 Před rokem +1

    Should explain this with real UI ,may be shapes and widgets and how they behave when keyboard comes up.

  • @tegwyrdd5896
    @tegwyrdd5896 Před 2 lety

    I love this person.

  • @kgermando
    @kgermando Před 2 lety

    Merci 😊

  • @karlchoy
    @karlchoy Před 2 lety

    good!!👍👍

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 Před 2 lety

    Thanks

  • @vlad1slove1
    @vlad1slove1 Před 2 lety

    thanks

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

    Well that was confusing 🤔

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

    0:48 Windows Phone keyboard :)

  • @albertvolschenk855
    @albertvolschenk855 Před 2 lety +4

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

    i just add single child scroll view!

  • @MarcosFerreiraIO
    @MarcosFerreiraIO Před 2 lety

    Congratulations Google!!!!

  • @rajkumarmigsingh
    @rajkumarmigsingh Před 2 lety

    😭👍

  • @adnan.farooq
    @adnan.farooq Před rokem

    Who notices windows 10 mobile keyboard...

  • @neatfastro
    @neatfastro Před 2 lety

    🥴