//Android Studio uses IDEA to import files automatically, Like this
import 'file///F:/flutter_project/lib/home_page.dart';
//Change it to
import 'package:flutter_project/home_page.dart';
//then goto Tool > Flutter > Flutter Clean
Android Studio uses IDEA to import files automatically, Like this
import 'file///F:/flutter_project/lib/home_page.dart';
Change it to
import 'package:flutter_project/home_page.dart';
then goto Tool > Flutter > Flutter Clean