i am new to flutter.when i run this code on flutter web this error occurs.
some one help to get rid of the problem
If you updated your flutter sdk to Beta channel, Downgrade your flutter sdk to Stable Channel. Current stable version is 2.10.3
Flutter downgrade command
flutter downgrade v2.10.3
Downgrade flutter to version 2.10.3 ? [y|n]: Type y for Yes to confirm changes
Answered By – Anandh Krishnan
Answer Checked By – Willingham (FlutterFixes Volunteer)