The method 'listen' isn't defined for the type 'VxState'.
Dinesh-choudhary-Wow opened this issue · comments
Dinesh Choudhary commented
The method 'listen' isn't defined for the type 'VxState'.
Try correcting the name to the name of an existing method, or defining a method named 'listen'.
from your flutter video https://youtu.be/j-LOab_PzzU
day 27 when we put listen in add_to_cart.dart file it was displaying the above issue.
and may this error is in the new version or vxstate
.
Pawan Kumar commented
Use .watch()