Skip to content
0:00 / 0:00

#flutter#valuenotifier#statemanagement

Flutter: ValueNotifier Simplified, "Explain it to me like I'm 5"

Flutter Community

34K subscribers • 18 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Scott Stoll
  • Linked in the descriptionScottS2017/valuenotifier_simplified
  • May be out of date. Uploaded 6 years ago, in an area where tools change fast.

Beginner. No background in the topic needed.

8.6K views6 years ago2 recommendations

Mobile developmentSoftware designFlutter and React NativeSoftware architecture

Scott Stoll explains how to use ValueNotifier for simple state management in Flutter applications.

A simple approach to using ValueNotifier for State Management in Flutter. Code available at: github.com/ScottS2017/valuenotifier_simplified.git

Why it's here

2 people recommend this

What people say. Recommended as a simple, beginner-friendly explanation of using ValueNotifier for state management in Flutter.

u/Pixelredditin r/FlutterDev • Recommends

Flutter: ValueNotifier Simplified, "Explain it to me like I'm 5"

u/2reformin r/FlutterDev • Recommends

On “atomic state management recommendations”

Most similar approach imo is by using `ValueNotifier`s as the recoil atoms: class MyHomePage extends StatefulWidget { MyHomePage({Key key, this.title}) : super(key: key); final String title; @override _MyHomePageState createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { final ValueNotifier<int> _counter = ValueNotifier<int>(0); final Widget goodJob = const Text('Good job!'); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(widget.title) ), body: Center( child: Column(…