Flutter “Null check operator used on a null value” error when using bloc and provider
I am trying to follow a course on dart and it is a little outdated, I ran into the error, “Null check operator used on a null value” when trying to use a provider to make an instance of Bloc class and I need help to get rid of this error.,this is the error I am encounteringthis is my main pagethis is the app page
this is my login screen pagethis is my provider pagethis is my bloc pageand finally this is my Validator pageCan someone help me fix this problem?