下面的命令,可以批量應用所有的變化
dart fix --apply
我如何告訴dart fix只修復特定的問題? 即只修復所有prefer const with constant constructors.
uj5u.com熱心網友回復:
不幸的是,截止到現在(2021年9月15日),dart修復只有2個命令
。
dart fix --dry-run //T to preview changes。
并且
dart fix --apply //T to apply the changes
更多資訊請參見這個GitHub readme。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/313108.html
標籤:
