Today, I got a job after struggling so much, Now they asked me to clone a project from master file and run the project, from past two days i ma trying hard to run the project but i am getting errors like in whole project i am getting error on snackbarshow, flatbutton, raisedbutton, and zoomopion, they are on red lines, and also i am getting error on dependencies like Resolving dependencies... The lower bound of "sdk: '>=2.11.0 <3.0.0'" must be 2.12.0' or higher to enable null safety. enter image description here
The current Dart SDK (3.0.3) only supports null safety.
i have tried almos every solution on google like changing sdk version in pubspecyml file and also upgrade my flutter too, here is my flutter info: i am using andriod studio, Flutter is already up to date on channel stable Flutter 3.10.4 • channel stable • https://github.com/flutter/flutter.git Framework • revision 682aa387cf (2 days ago) • 2023-06-05 18:04:56 -0500 Engine • revision 2a3401c9bb Tools • Dart 3.0.3 • DevTools 2.23.1