Invalid depfile: Flutter
Sometimes it happens to me too. I either deleted the converted code or converted it command For example here I entered:
import 'dart:html';
, And my error was fixed after deleting it or turning it into a comment
// import 'dart:html';
I got the same error and I am following a udemy course as well.
I tried flutter pub get
and it worked.