Positioned (Flutter Widget of the Week)

Поделиться
HTML-код
  • Опубликовано: 11 фев 2019
  • Use the Positioned widget to position Flutter widgets in a Stack. Wrap the Stack’s children with a Positioned widget and set the parameters (top, bottom, left, right, height, and width) to achieve your desired Stack layout. You can also use Positioned.fill to make the widget fill the Stack’s space.
    Positioned widget documentation → bit.ly/2GkijOf
    More info on Flutter layout widgets → bit.ly/2GfgBxw
    This video is also subtitled in Chinese, Indonesian, Italian, French, German, Japanese, Korean, Portuguese, and Spanish.
    Get more tips! → bit.ly/2B8M3vG
    Subscribe! → bit.ly/googledevs
  • НаукаНаука

Комментарии • 53

  • @MikeNugget
    @MikeNugget 5 лет назад +173

    I love that guy who makes motion graphics for your videos

    • @PelpsRoxXx
      @PelpsRoxXx 5 лет назад +10

      i would really like to know what program did they use to make these... and also would love to know how to do them!!

    • @ben6
      @ben6 4 года назад +5

      @@PelpsRoxXx I wouldn't be surprised if they're using Flutter

    • @BigBayle
      @BigBayle 3 года назад +1

      @@PelpsRoxXx probably after effect

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 5 лет назад +31

    These widget of the week video series are really helpful!

    • @Hacker-rj6tn
      @Hacker-rj6tn 4 года назад

      May i know how to use % in positioning the widget. ? Bcz we should not use pixels , mobile screen sizes are diffetent right so. Anyone plz . Thanks

  • @sanzharbekamatov1581
    @sanzharbekamatov1581 4 года назад +4

    Awesome graphic motions and explanations!

  • @raidenli6602
    @raidenli6602 5 лет назад +2

    Position absolute enhanced version👍🏻Good job

    • @Hacker-rj6tn
      @Hacker-rj6tn 4 года назад

      May i know how to use % in positioning the widget. ? Bcz we should not use pixels , mobile screen sizes are diffetent right so. Anyone plz . Thanks

  • @muhammedbarikhan3955
    @muhammedbarikhan3955 5 лет назад +4

    Thanks flutter team

  • @EnerServDoomer
    @EnerServDoomer 5 лет назад

    Thank you very much!

  • @HemasaicharanK
    @HemasaicharanK 5 лет назад +7

    Flutter is getting so cool day by day with it's innovative widget's to develop apps with lots of fun

    • @Hacker-rj6tn
      @Hacker-rj6tn 4 года назад

      May i know how to use % in positioning the widget. ? Bcz we should not use pixels , mobile screen sizes are diffetent right so. Anyone plz . Thanks

    • @mr_ks_gaming
      @mr_ks_gaming 4 года назад

      @@Hacker-rj6tn you can use media query for that i think.

  • @Hacker-rj6tn
    @Hacker-rj6tn 4 года назад +4

    May i know how to use % in positioning the widget. ? Bcz we should not use pixels , mobile screen sizes are diffetent right so. Anyone plz . Thanks

  • @fg0611
    @fg0611 2 года назад

    Helps a lot! thanks people!

  • @NeuroDataLabs
    @NeuroDataLabs 5 лет назад +1

    Good job!

  • @mehmetpeker9047
    @mehmetpeker9047 5 лет назад +1

    How ı can set width match parent of child like android programming?

  • @bryanjohandi6902
    @bryanjohandi6902 2 года назад

    i'm start love this framework:>

  • @saroopashree
    @saroopashree 5 лет назад

    It would be great if the next video in this series is about OverFlowBox. @GoogleDevelopers #FlutterWidgetOfTheWeek #Flutter

  • @lenninlc
    @lenninlc 5 лет назад

    Awesome!

  • @russellwaring2354
    @russellwaring2354 Год назад

    What if the programmer what like to center a widget in the stack? Is there a convenient means provided through the Positioned widget?

  • @RadhikaGoswami
    @RadhikaGoswami 4 года назад

    flutter is future😍😍

  • @codastr
    @codastr 4 года назад

    How to make a responsive stack positioned element?

  • @harfoush
    @harfoush 5 лет назад

    Wait, so I'm not supposed to use Column/Row combination? Just use a stack and position things around?
    Since both deliver the same results visually, does one affect the performance more than the other?

    • @ManuLpz4
      @ManuLpz4 5 лет назад +2

      Use rows dude lol

    • @ianschoenrock2285
      @ianschoenrock2285 4 года назад +1

      Stacks are for layering widgets. If you aren't layering widgets columns/rows are just fine.

  • @LaughingMan44
    @LaughingMan44 3 года назад +2

    and how to get the positioned widget to resize according to screen size dynamically?

    • @batuhankrbb
      @batuhankrbb 3 года назад +2

      just use MediaQuery.of(context).size.height * number as you use in everywhere (I hope :D)

  • @ararif1195
    @ararif1195 4 года назад

    Nice

  • @hydernotes
    @hydernotes 3 года назад +1

    The Positioned widget is placed in different locations in the Stack on different devices, What's the solution?

    • @tanthokg
      @tanthokg 3 года назад

      that's because of different size screen and resolution, try using mediaquery

  • @dma6967
    @dma6967 5 лет назад +11

    I want to volunteer to translate the video into my language (Arabic)

    • @andrewbrogdon558
      @andrewbrogdon558 5 лет назад +9

      We've had some people volunteer to do subs before, but our YT production process isn't set up for getting them into the video as captions. However, if you're interested (and it's totally understandable if you're not), you can always post your translation in a comment. Afterward, we'll pin it to the top of the comment list and make it easy for people to find.

  • @uniesys5772
    @uniesys5772 5 лет назад +4

    Continue plz, why stopped ?

  • @jenal88
    @jenal88 5 лет назад +1

    When to use Positioned and when to use Align?

    • @karolwydmuch2166
      @karolwydmuch2166 5 лет назад

      "An Align widget usually takes widget to extreme positions. So for example, if we enter top-right, we need to add extra padding to keep it neat and tidy. A Positioned widget combines these two things and lets us keep one Positioned widget instead of an Align and a Padding. We will see how in a while."
      Source: medium.com/flutter-community/a-deep-dive-into-stack-in-flutter-3264619b3a77

    • @tino3420
      @tino3420 5 лет назад

      @@MattSullivanGoogle Thanks a lot.

    • @Hacker-rj6tn
      @Hacker-rj6tn 4 года назад

      May i know how to use % in positioning the widget. ? Bcz we should not use pixels , mobile screen sizes are diffetent right so. Anyone plz . Thanks

  • @sahilagrawal8360
    @sahilagrawal8360 4 года назад

    Can Somebody please explain build widget?

  • @JaspreetSingh-kk3bs
    @JaspreetSingh-kk3bs 4 года назад

    Flutter is wings to devlepors

  • @Monxarat
    @Monxarat 5 лет назад +1

    Positioned is more flexible than Align

  • @sampathbalivada-personal
    @sampathbalivada-personal 5 лет назад +1

    We need a channel for flutter. 😐

    • @DanTup
      @DanTup 5 лет назад

      ruclips.net/video/sPW7nDBqt8w/видео.html :)

  • @sateeshkumar1145
    @sateeshkumar1145 5 лет назад

    i want to send notification from one user's profile to other users' profile.... how can i do that

  • @charlescai
    @charlescai 4 года назад +1

    Positioned Full running practice project in here
    github.com/CharlesCCC/flutter-widget-of-the-week/tree/master/week_26_Positioned
    More Practice Examples from Widget of the week:
    github.com/CharlesCCC/flutter-widget-of-the-week

  • @danvilela
    @danvilela 5 лет назад +2

    The title is in portuguese here and it is HORRIBLE! Please google/youtube stop this.. Good video though, keep it coming.

    • @andrewbrogdon558
      @andrewbrogdon558 5 лет назад

      Can you give me a little more info about the issue you're seeing? Is it that the Portuguese captions aren't accurate, or that they're appearing when they shouldn't, or something else?

    • @danvilela
      @danvilela 5 лет назад

      Andrew Brogdon nope is that youtube is translating automatically my video titles.. since this channel is from google i thought of complaining lol.. but there is nothing to do with the video per se!

    • @danvilela
      @danvilela 5 лет назад

      N3WE11 good idea.. but i like the app in my language, just not the videos.. it doesnt make sense

  • @quorkquork
    @quorkquork 5 лет назад +3

    Kind of getting tired of the Flutter spam.