Flutter ValueListenableBuilder Widget

Поделиться
HTML-код
  • Опубликовано: 24 апр 2023
  • This Tutorial will show you how to use the ValueListenableBuilder with flutter. To learn more about every flutter widgets, you can check our flutter playlist about all flutter widgets here: • Flutter AboutDialog Wi...
    This was how to make and use the ValueListenableBuilder widget within your Flutter app
    COURSES
    Flutter courses (Beginner & Advanced): fluttermapp.com/
    OVERVIEW
    0:00​ ValueListenableBuilder Flutter
    MISSION
    Our mission at Flutter Mapp (Flutter Mobile App) is to help purpose driven Flutter developers go full-time doing what they love and making an impact through coding. We achieve this with useful Flutter tips and straight to the point Flutter videos.
    RECOMMENDED VIDEOS
    Playlist of more than 200 Flutter tips: • 35 Flutter Tips That W...
    Learn Flutter in 1 hour: • Flutter Tutorial For B...
    Zero to Hero Flutter Course (Beginners): • Video
    Hero to Pro Flutter Course (Advanced): • Video
    EDITOR
    Amaan Ansari: / amaan_0605
    SOCIAL MEDIA:
    Instagram : fluttermapp
    Twitter : FlutterMapp
    Website: www.fluttermapp.com
    Discord Invite: / discord
    CONTACT
    For business inquiries email me here: info@fluttermapp.com
    Website: fluttermapp.com
    #FlutterMapp
    #Flutter

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

  • @RDHARDWARE-xc1yt
    @RDHARDWARE-xc1yt 2 месяца назад

    thank you for the video!

  • @TheSclare
    @TheSclare Год назад +2

    What does child parameter do?

  • @legardemontcho6739
    @legardemontcho6739 Месяц назад

    When people do tutorials, it's important to first explain the differences between ChangeNotifier, statefull and ValueNotifier. When will you suggest using ChangeNotifier and not ValueNotifier, for example?

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

    I think the package States_rebuilder uses this under the hood.
    Very powerful stuff

  • @saccarus5685
    @saccarus5685 Год назад +2

    What benefit does using this provide over setstate?

    • @ziadahmed6807
      @ziadahmed6807 Год назад +9

      setState rebuilds the whole widget tree. On the other hand using the value listenable builder rebuilds only the child with the new value

    • @saccarus5685
      @saccarus5685 Год назад +1

      ​@Ziad Ahmed that's nice! Less redraws are always better

    • @phuongtran-qh5kq
      @phuongtran-qh5kq Год назад +1

      It also react to changes, we can return different widgets reactively

  • @kasimcan
    @kasimcan Год назад +2

    Hi there, how can I ensure that this number doesn't reset when I exit the application?

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

      Check the new video on this channel (Data architechture). We use shared preference to save data locally 👍

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

      @@FlutterMapp can you mention the link here ???

    • @phuongtran-qh5kq
      @phuongtran-qh5kq Год назад +1

      @@lumiplex404 check for sharepreference package. It will store data in your phone and will not get deleted unless you want so

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

    But state management much stronger than this!