From the course: Flutter Essential Training: Build for Multiple Platforms

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Stateful hot reload

Stateful hot reload

- [Instructor] Now that you know what state is, let's talk about the stateful hot reload feature that Flutter is famous for. Now, what do you mean by stateful hot reload? Obviously, you understand that it probably has something to do with the way we run the app. But what were we doing all this time when we were clicking on this play button in our Android Studio? So let's stop this app. Open my terminal, and click on this Run main.dart again. So this is the first time I'm executing this app because I just stopped it. And it is taking definitely more than five seconds. Well, this is the default start, or restart of any application, and it is gathering resources and libraries to run your application. Now, imagine if you had to spend five to 10 seconds every time you made a change. That will significantly waste your development time, and ruin the developer experience. Finally, it is running. But with Flutter, we have…

Contents