Flutter ValueListenableBuilder Widget

Поділитися
Вставка
  • Опубліковано 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?

  • @ChrisC97232
    @ChrisC97232 Рік тому

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

  • @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?

  • @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!