When I am doing this:
I am getting an error that says: 'The prefix 'value' can't be used here because it is shadowed by a local declaration.'
I have referred the following: Why can't I use context.read in build(), but I can use Provider.of with listen: false?
I did not understand much. Can someone please help me in simple terms what am I doing wrong. Thank you.