If you are using android studio, go configurations, and delete the arg "no-sound-null-safety".
You might need to run flutter pub upgrade --major-versions, to upgrade all packages, and after that, you might need to amend the code, to make it work with the latest dart, flutter sdk, and packages breaking changes. Some things might be deprecated, or removed at all. If you have an error on a class name, you have to see from which package it was, and go to readme sectionor changelog sections and see the breaking changes for that package.