Why Flutter Development is Fast
In many mobile frameworks you must rebuild and reinstall the app after every small change, which can take minutes. In Flutter you change the code, press save, and the running app updates in about a second. This is called hot reload.
Hot Reload vs Hot Restart
| Hot reload | Hot restart | |
|---|---|---|
| Speed | Under a second | A few seconds |
| Keeps app state (like a counter value)? | Yes | No, state is reset |
| Shortcut in terminal | r | R |
| Use it for | UI changes: colors, text, layout | Changes to main(), global variables, initState |
| Not enough for | Adding new packages, native changes | Native code changes (needs a full stop and run) |
Try Hot Reload
- Run your app with
flutter run. - Change a text or a color in
main.dart. - Save the file.
- Watch the change appear without restarting.
Keyboard Commands in the flutter run Terminal
| Key | Action |
|---|---|
r | Hot reload |
R | Hot restart |
h | Show all commands |
d | Detach (keep app running) |
q | Quit |
Printing to the Console
The Widget Inspector
The Widget Inspector shows the widget tree of your running app. Tap a widget on the screen and see its size, padding and parent. It is the best way to understand layout problems, and you can open it from the editor toolbar or from DevTools.
Flutter DevTools
| Tool tab | Use |
|---|---|
| Inspector | See the widget tree and layout details |
| Performance | Find slow frames and jank |
| Memory | Find memory leaks |
| Network | See API requests and responses |
| Logging | Read your logs |
| Debugger | Set breakpoints and step through code |
Static Analysis
flutter analyze finds errors, warnings and style problems without running the app. Run it before you commit code.
flutter run --release on a real device.
Conclusion
Hot reload makes experimenting easy, so change things often. When something looks wrong, open the Widget Inspector and look at the tree.

