我正在尝试使用Riverpod状态管理。我有两个TextFormField,我想通过使用StateNotifierProvider将每个字段中输入的值相加来设置Text的值。在下面的代码中,CashCounterData是由StateNotifier CashCounter使用的数据模型。StateNotifierProvider<CashCounter, CashCounterData>((ref) => CashCounter());
class CashCounter extends St