Skip to content
0:00 / 0:00

#flutter#setstate#statemanagement

Set State Method in Flutter - State Management Basics

Flutter Explained

39K subscribers • 4 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Linked in the descriptionmd-weber/state_tutorials
  • May be out of date. Uploaded 6 years ago, in an area where tools change fast.

Beginner. No background in the topic needed.

24K views6 years ago2 recommendations

Mobile developmentFlutter and React NativeMobile app architecture

An explanation of Flutter's setState method, how to lift state up, and the pros and cons of basic state management.

This is the second video of the state management series, today we will focus on #setState and how we "Lift the State up". Additionally, we try to bring some light on why we think about different packages. - Introduction - Explanation of the Boilerplate - Checkbox Selection state - Usage of setState - Deep Dive into the setState Function - Creating of DrinkWidget - Drink Class and List of Drinks - Spread a list of widgets - Update ListView to work with drinks - Lift the state up - Problem with setState - Summary of the advantages and disadvantages - Outro ⭐️⭐️Helpful Ressources ⭐️⭐️ GitHub Repository: github.com/md-weber/state_tutorials Tools we use to grow our YouTube channel TubeBuddy Review - Manage Your YouTube Channel Easily tubebuddy.com/flutterexplained Our current YouTube gear 🎙 Samson Mic: amzn.to/324Gpof 📟 Satechi USB-C Adapter: amzn.to/3kUdQ5M 💻 MacBook Pro: amzn.to/3iQ9MBx 📹 Lumix FZ1000: amzn.to/3g7tW8D ⭐️⭐️Follow us ⭐️⭐️ Twitter Mahtab - twitter.com/mahtab_dev GitHub Mahtab - github.com/mt-tadayon Twitter Max - twitter.com/flutter_exp Github Max - github.com/md-weber Homepage - myracledesign.de/blog ⭐️⭐️ Support ⭐️⭐️ If you read this so far, thank you once more. If you like to support us, here are some links that could help me a lot. Donation via Streamlabs - You are free to donate us a small amount, so we can keep up our work. flutterexplained.live/ Amazon Affiliate Link - You buy for the same price and I get a small amount of it. This leads to an amazing Flutter book that I can recommend to every beginner of flutter amzn.to/2uOJXON

Why it's here

2 people recommend this

What people say. Recommended as a clear tutorial on passing callbacks and managing basic state in Flutter.

u/MyracleDesignin r/FlutterDev • Recommends

Set State Method in Flutter - State Management Basics

u/Rexyness17in r/FlutterDev • Recommends

On “calling a method from another class”

Do you know how to pass a `String` from one widget to another ? you do the same but instead of String you pass `VoidCallback` I suggest you watch this video