flutter hot reload not working ios code example

Example 1: flutter hot reloading not working

//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

Example 2: flutter hot reloading not working

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

Tags:

Dart Example