使用热更新
1. 使用关联命令:
flutter attach [-d 设备ID] [ —app-id 你的包名]`
2. r Hot reload.
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).