Hi@akhtar,
To hot reload a Flutter app, you can follow the below-given steps.
-
Run the app from a supported Flutter editor or a terminal window. Either a physical or virtual device can be the target. Only Flutter apps in debug mode can be hot reloaded.
-
Modify one of the Dart files in your project. Most types of code changes can be hot reloaded; for a list of changes that require a hot restart, see Special cases.
-
If you’re working in an IDE/editor that supports Flutter’s IDE tools, select Save All (cmd-s/ctrl-s), or click the hot reload button on the toolbar.
If you’re running the app at the command line using flutter run, enter r in the terminal window.
After a successful hot reload operation, you’ll see a message in the console.
Performing hot reload...
Reloaded 1 of 448 libraries in 978ms.
To know more about Flutter, join our Flutter Course today.