flutter .g文件生成不了

[SEVERE] Conflicting outputs were detected and the build is unable to prompt for permission to remove them. These outputs must be removed manually or the build can be run with `--delete-conflicting-outputs`. The outputs are: lib/models/base_action_list_model.g.dart

运行:

flutter packages pub run build_runner build --delete-conflicting-outputs
原文地址:https://www.cnblogs.com/zhujiabin/p/10272478.html