ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

SnackBar (Flutter Widget of the Week)

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2020
  • Ever wanted to show a quick message in your app? Then SnackBar is for you! SnackBar lets you pop up a message for a few seconds at the bottom of your app.
    Learn more about SnackBar → goo.gle/36zwBmD
    This video is also subtitled in Chinese, Indonesian, Italian, Japanese, Korean, Portuguese, and Spanish.
    Learn everything about Flutter at → goo.gle/2WAhEN1
    Get more tips! → goo.gle/307BX6t
    Subscribe! → goo.gle/FlutterYT

ความคิดเห็น • 51

  • @lenzpaul2205
    @lenzpaul2205 3 ปีที่แล้ว +23

    CAREFUL: This is now depracted as of v1.23.0-14.0.pre. Use ScaffoldMessenger.showSnackBar.

  • @iwanpieterse6953
    @iwanpieterse6953 4 ปีที่แล้ว +85

    That's a delicious widget thank you.

    • @DanielTubul
      @DanielTubul 4 ปีที่แล้ว +4

      Iwan Pieterse snacky snack

  • @riyoua
    @riyoua 4 ปีที่แล้ว +32

    amazing , your community is rapidly getting bigger and bigger , keep it up that way , with more in the depth documentation in your website , you will dominate the cross platform market in a short time

  • @donlam922
    @donlam922 4 ปีที่แล้ว +30

    .of(context) saves my life

  • @DennisEspiritu
    @DennisEspiritu 4 ปีที่แล้ว +5

    Need more snackbar customizations? Flushbar to the rescue!

  • @MauricioChavesDias
    @MauricioChavesDias 4 ปีที่แล้ว +1

    Perfect explanation in how to use this great widget! Thank you 🙂

  • @muhamadhaydar8419
    @muhamadhaydar8419 4 ปีที่แล้ว +2

    That's a great widget to aware users, Keep going.

  • @thetechrr
    @thetechrr 3 ปีที่แล้ว

    Seriously I am very excited to use this, it's amazing and super easy.

  • @beloArgentina
    @beloArgentina 4 ปีที่แล้ว

    Thanks a lot! 💙

  • @testtest1art
    @testtest1art 4 ปีที่แล้ว

    Cool thanks 😊

  • @JoonBeh
    @JoonBeh 3 ปีที่แล้ว

    When is the web app going to be released officially? I've been waiting over 1 year.

  • @Charlie-zd2dr
    @Charlie-zd2dr 4 ปีที่แล้ว

    Would love to have a solid shareintent feature. Or whatever.

  • @heshansandeepa9471
    @heshansandeepa9471 2 ปีที่แล้ว

    very nice

  • @felipehaussler271
    @felipehaussler271 3 ปีที่แล้ว

    jaja very bacana

  • @MyNameIssaSimon
    @MyNameIssaSimon 4 ปีที่แล้ว +1

    Can you show the snackbar from the top?

  • @NameTopSecret
    @NameTopSecret 2 ปีที่แล้ว +1

    its deprecated now. what is the new way of doing it?

    • @dsxk3799
      @dsxk3799 2 ปีที่แล้ว +1

      now you can use "ScaffoldMessenger.of(context).showSnackBar"

  • @krylizhen9050
    @krylizhen9050 3 ปีที่แล้ว

    It is nice

  • @matiasosuna6812
    @matiasosuna6812 3 ปีที่แล้ว +3

    This is deprecated. You should use ScaffoldMessenger.of(context).showSnackBar(yourSnackbarHere)
    Like to help people see this

    • @mateuszkasprzak3916
      @mateuszkasprzak3916 11 หลายเดือนก่อน

      Thank you ! It really helped a lot :D

  • @KuldeepSingh-dn9sc
    @KuldeepSingh-dn9sc 4 ปีที่แล้ว

    failed assertion: line 5540 pos 12: '_children.contains(child)': is not true. flutter
    I have this run time error
    When I'm back from second page(listview) to first page
    Then app get crashed
    Can you please help me 🙂

  • @frostsmaker8966
    @frostsmaker8966 4 ปีที่แล้ว

    Yummy,...

  • @DeusDinheiroMatematica
    @DeusDinheiroMatematica 4 ปีที่แล้ว +2

    Why can't we just call SnackBar() method directly beneath onPressed()?
    Why do we have to call Scaffold.of(context).showSnackBar first?

  • @danvilela
    @danvilela 4 ปีที่แล้ว

    Why this dont work on overlay?

  • @remoteportal
    @remoteportal 4 ปีที่แล้ว

    Which widget #?

  • @erperejildo
    @erperejildo 4 ปีที่แล้ว

    how to display it after navigation is done?

    • @marflage
      @marflage 3 ปีที่แล้ว

      Could you please elaborate? And if you had found the solution, could you summarize it here? Thanks

    • @erperejildo
      @erperejildo 3 ปีที่แล้ว

      @@marflage I want to show when I navigate from page1 to page2. I can have an initState on page2 but I think is better having a .then for the navigation method

  • @bhupeshpattanaik7150
    @bhupeshpattanaik7150 3 ปีที่แล้ว +1

    This has been deprecated 🤷🏻‍♂️

  • @stepheningermany
    @stepheningermany 4 ปีที่แล้ว

    Why the hell is this widget called Snackbar???

    • @sodiboo
      @sodiboo 4 ปีที่แล้ว

      Because they are snackbars: material.io/components/snackbars

  • @chansupark6256
    @chansupark6256 3 ปีที่แล้ว

    why there are 11 dislikes?

    • @abhishekmohite216
      @abhishekmohite216 3 ปีที่แล้ว +1

      probably someone expected some snack XD

  • @bakhadher2240
    @bakhadher2240 ปีที่แล้ว +8

    now it is ScaffoldMessenger not only Scaffold
    ScaffoldMessenger.of(context).showSnackBar();

  • @supreetkumar7604
    @supreetkumar7604 4 ปีที่แล้ว +6

    Does any of you using flutter to build REAL WORLD applications?

    • @_birdy_birdy
      @_birdy_birdy 4 ปีที่แล้ว +4

      Yes there are plenty apps already out both for Android and iOS.

    • @RaymondAtivie
      @RaymondAtivie 4 ปีที่แล้ว +3

      Yes. I built an “Instagram for pets” with flutter. “Minderz” it’s on the iOS and Android store

    • @martianmanhunger2163
      @martianmanhunger2163 4 ปีที่แล้ว +1

      Google stadia app is built on top of Flutter.

    • @continuousable
      @continuousable 4 ปีที่แล้ว +2

      Yes, for instance "Priority Todo", which is a todo app on android.
      But there are many other apps and since flutter is becoming increasingly popular you will eventually find more

    • @natesh1
      @natesh1 4 ปีที่แล้ว +1

      I made 'hisss' game and 'Giant Sudoku' game in flutter in just 3 to 4 days.

  • @mohamadkenway5140
    @mohamadkenway5140 4 ปีที่แล้ว

    Flutter team pleassssssse fix black screen when app launching
    i searched about it and i found solution that i should add a splash screen ....
    please fix this bug
    thanks ):

  • @ccbcortes4823
    @ccbcortes4823 2 ปีที่แล้ว

    Está desatualizado.
    Não é mais Scaffold.of(); é ScaffoldMessenger.of()