How to perform a hot reload

To hot reload a Flutter app:

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 or hot restarted.

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 similar to: