Flutter与原生混合开发时利用热重载查看效果

使用热更新

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).

你可能感兴趣的:(Flutter与原生混合开发时利用热重载查看效果)