Flutter的scope_model使用mixin语法报错

在pubspec.yaml同级目录下创建analysis_options.yaml文件,内容:

  

# https://www.dartlang.org/guides/language/analysis-options
analyzer:
strong-mode: true
errors:
mixin_inherits_from_not_object: ignore
posted @ 2019-03-01 17:24  dnoyeb  阅读(696)  评论(0)    收藏  举报