Flutter 颤振中CalendarO.dart文件出错:未找到方法:';类型匹配器';

Flutter 颤振中CalendarO.dart文件出错:未找到方法:';类型匹配器';,flutter,flutter-dependencies,flutter-web,Flutter,Flutter Dependencies,Flutter Web,/C:/src/flatter/.pub cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:81:41:错误:找不到方法:“TypeMatcher” anteStorStateofType(const TypeMatcher()); 我是颤振开发的初学者。在其中一个项目中,我使用了CalendarO库。在导入这个库之后,我得到了上面提到的错误。有人能帮我摆脱这个错误吗 我使用的是颤振稳定版本2.2.0 注意:

/C:/src/flatter/.pub cache/hosted/pub.dartlang.org/calendarro-1.2.0/lib/calendarro.dart:81:41:错误:找不到方法:“TypeMatcher”
anteStorStateofType(const TypeMatcher());

我是颤振开发的初学者。在其中一个项目中,我使用了CalendarO库。在导入这个库之后,我得到了上面提到的错误。有人能帮我摆脱这个错误吗

我使用的是颤振稳定版本2.2.0

注意: 这个calendarro.dart文件本身最初给了我一些错误,因为其中存在date\u utils.dart文件。“date_utils.dart”文件中的类名是DateUtils,它也存在于材质库中。因此,我刚刚将“date\u utils.dart”文件作为“du”导入CalendarO.dart文件,然后在“CalendarO.dart”文件中相应地使用“date\u utils.dart”文件的功能

谢谢