Set State Method in Flutter - State Management Basics

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

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

  • @xavicolomes
    @xavicolomes 2 года назад +2

    Dude, it's the first video I see that really explains state in a simple and clear way, thanks!!!

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

    This channel deserves more subs. Can't wait for video about 'key' and usege.

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

      Thank you Adam :) thanks to your and the great community we will reach our goals :). The key topic is noted and will be a very good video in the future, thanks for sharing!

  • @ijogendrajat
    @ijogendrajat 2 года назад +1

    This is called the real Knowledge

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

    hello, thank you very much for the video! it is what i needed!
    just a question, how to you capture the selected list into a string variable?

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

    The exact video what I was looking for, thanks

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

    i studied most important things. thanks buddy

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

    Thank you very much for this excellent video, I think, it's very good for beginners, which I am. Now, I have a question. Flutter offers the setState as a way to refresh the UI showing the new state of the Widget, and developers need to use a solution to make the App uses less resources like Redux, Provider, GetX, BLoC, etc.. Which state management solution do you recommend?

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

    Wow what's the name o the plugin you have that shows you those line branches between nodes?? I need that! Amazing video also

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

      That is the good old pencil :) pencil.evolus.vn/

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

      @@FlutterExplained I mean the extension for vscode, that has sort of branches between your lines of code. Sorry I didn't explain it well I was too excited haha

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

      @@lear62 Ah alright, that is not a plugin :) it is another editor. I work with Android Studio.

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

      @@FlutterExplained ohhhh amazing thank you! Love the vids :)

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

    Thank you for this useful videos. i enjoyed

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

    ay man ,how can i get the selected values if i want to use them later in the app?

  • @Sarah-bb2so
    @Sarah-bb2so 3 года назад

    Hello, I’m a student and still new to flutter how can I do what you teach using filter chips and insert them into a Messages in an e-mail to send to an email address using mailer package when user press my mail button. I already have the mailer code working just need to know how to include the values/message of the chips into the email message.

  • @05kminunov
    @05kminunov 3 года назад

    My List is not updating or what must be done inside the setState method to show the updated values on the ui for a particular List item?Currently it displays a message without updating the screen if (isSuccess) {
    setState(() {
    custodialupdateStatusMessage =
    'Saved successfully';
    });
    } else {
    setState(() {
    custodialupdateStatusMessage =
    'Save failed';
    });

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

    How do we set out each of the examples in A.Studio? Do we set up ourGit hub and save each example there? Also, where is your code for this?

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

      You can check the following website:
      guides.github.com/activities/hello-world/
      There is one project you can find it in the video description. There are multiple branches that you can follow step by step via the todos.

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

    how can we store selected items in database table??

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

    Hi Max, how do you het this Nice tree lines?

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

      Hi Stefaan, which tree lines? 😊 If you mean the diagram I use pencils for it.
      pencil.evolus.vn/

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

    if i change it to a Stateless widget it doesnt get splitted.

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

    What emulator is he using?

    • @FlutterExplained
      @FlutterExplained  4 года назад +2

      It is called "Flutter Emulator" it's an option in Android Studio on the flutter master channel :)

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

      @@FlutterExplained Thank you!

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

      @@FlutterExplained hi Max, hope you read this. So I updated to the master channel and couldn't find the flutter emulator. I then got Android studio preview and couldn't find it. I went.on Reddit and they ridiculed the very idea of a flutter emulator. How do I get this?

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

      @@EnigmaticRealms1 I will double check and write you as soon as I have the solution :)

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

      Abdirazak Ahmed Sorry that I led you on a wrong path. After I have double-checked, I saw that it is just a basic AVD (where I set the name to flutter emulator) and removed the Device Frame. You can find the option in Android Studio in the AVD manager.

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

    hi Im getting error in setState please help

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

      Sure what is the error?

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

      @@FlutterExplained it shows error like method not found.

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

      Could you double check that you are in a stateful widget?

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

      @@FlutterExplained ye got it thanks.. Bro I need a help im showing with nosuch method error .

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

    Thank you Sir, I'm developing an app using flutter since, I have no guide to help proceeding that it would be great that if you considering regarding that. And i would be extremely happy i have contact with you through telegram or discord.(FYI i have commented same message through different mail the comment haven't posted this is another one).

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

      Hi, what kind of app are you working on?

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

      @@ankit_apk Its like more like tourism safety guide many, local scammers scamming foreign tourist like selling fake product at high cost , approaching wrong tourist guide , approaching fake travel agents who charges high for domestic airways and showing poor facility lodge like that. And this app will guide them as per Countries authorized people

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

      @@alpachino3658 Great! I'm a beginner in Flutter have developed several apps out of which I've uploaded few on Play Store. If you would like to collaborate I can work with you on this project.

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

      @@ankit_apk It's great to hear it currently i'm at a break at this project once i reopen this i will let you know.

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

      @@alpachino3658 Sure :)

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

    Boriiingg