Flutter Riverpod: Use StateNotifier for Configuration and Update UI

Written by jimmysun | Published 2021/05/04
Tech Story Tags: flutter | riverpod | state-management | android-app-development | android | ios-app-development | flutter-riverpod | statenotifier

TLDR Flutter Riverpod: Use StateNotifier for Configuration and Update UI. The code is easy and convenient to use with Riverpod. Updateing a setting value not only updates the UI that listens to that value, but also updates other parts of the UI which don't listen to it, but listen to other setting values in the same state. Let's make a few changes to the code to update the UI and build Box A and Build Box B. Add 2 Providers to update a single state with a single value in the state.via the TL;DR App

no story

Written by jimmysun | My wife is my first wife. Coding is my second.
Published by HackerNoon on 2021/05/04