сначала спасибо за проверку моего вопроса.
Я новичок и у меня есть такой код:
ChangeNotifierProxyProvider<Auth, ImgProvider>(
builder: (ctx, auth, previousItem) => ImgProvider(
auth.token,
auth.userId,
previousItem == null ? [] : previousItem.items,
),
),
???????????? ???????????? ???????????? ???????????????????????? ???????? ???????????????????????????? ???????? ???????????????????????? ???????????? ???????????????????????? ????????
ChangeNotifierProxyProvider
???? ????????????'???? ???????????? ???????????? ???????????????????????????? ???????????????????????? ???????? ???????????? ????????????????. ???? ???????????????????????????? ???????? ???????????????? ???????????????? :
ChangeNotifierProxyProvider<Auth, ImgProvider>(
update: (ctx, auth, previousItem) => ImgProvider(
auth.token,
auth.userId,
previousItem == null ? [] : previousItem.items,
),
???????????? ???????????????????????? ???????????????????????? ???????????????? ???????? ???????????????? ???????????? ???????????????????????????????????? '????????????????????????' ???????? ????????????????????????????????.
???????????????? ???? ???????????????? ????????: ???????????? ???????????? ???????????????????????? ???????????????????????????? ???????? ???????? ???????????????? ????????????????. ???????????????????????? ????????????????!
But with the change of builder to create and update on
что вы имеете в виду, вы все еще можете использовать create и update, builder - это когда вам нужно использовать поставщика непосредственно в следующем виджете и попытаться избежать шаблонов с помощью Builder или Consumer - person EdwynZN   schedule 19.07.2020