flutter invalid depfile kernel snapshot.d code example
Example: Invalid depfil
flutter channel stable
// run flutter upgrade after this.
Please check detailed error by this command
flutter run --debug
Also,
dart:html library is for web apps only (it wraps the DOM APIs) and it is not supposed run in Flutter. Please check this git issue
So if its not a web project then Find and remove dart:html.