flutter 代码格式化

在Android stdio中选中需要的文件鼠标右键如图:

 选中Reformat Code with dartfmt

格式化后

原文地址:https://www.cnblogs.com/gaozhang12345/p/11969340.html