iampawan / 30DaysOfFlutter

Learn Flutter in 30 Days
413 stars 323 forks source link

ISSUE IN "VxState.listen" #22

Open AMAX44 opened 3 years ago

AMAX44 commented 3 years ago

I am currently on chapter 25 of course 30days with flutter by mtechviral. My issue is as per your code, VxState.listen must work but to me its showing error. The error is "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'."

Any help would be appreciated.

mahipa1sinh commented 3 years ago

use VxState.watch(context, on: []);