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 - Flutter Tutorial
From the course: Flutter Essential Training: Build for Multiple Platforms
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
-
-
-
-
-
-
What is state?1m 55s
-
(Locked)
Writing your first stateful widget7m 17s
-
(Locked)
Widget variables vs. state variables3m 26s
-
(Locked)
When to use stateless or stateful?1m 51s
-
(Locked)
Lifecycle of a stateful widget3m 44s
-
(Locked)
Stateful hot reload3m 22s
-
(Locked)
Learning about buttons6m 50s
-
(Locked)
Taps and gesture detection3m 47s
-
(Locked)
Getting inputs from the user7m 40s
-
(Locked)
Validating user inputs7m 55s
-
(Locked)
Creating multiline text fields6m 46s
-
(Locked)
Navigating from one screen to another5m 41s
-
(Locked)
Passing data with navigation2m 7s
-
(Locked)
Navigating via named routes4m 8s
-
(Locked)
Replacing routes using Navigator5m 16s
-
-
-
-
-