メインコンテンツへ移動
0

このレッスンは、現在英語のみです。

State that lives outside widgets

setState and ChangeNotifier get you far. When many screens share data, some of it loaded from the internet, and you want to test it without a phone, Riverpod keeps that state in providers outside your widgets, and widgets simply watch them. It is a package from the author of Provider.