【发布时间】:2023-02-10 23:25:54
【问题描述】:
我创建了一个新的 flutter 项目并将 flutter_animate: 3.1.0 包添加到 pubspec.ymal。还编写基本代码只是为了探索 flutter_animate 包。但是当我运行我的项目时,出现以下错误。
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_animate-3.1.0/lib/src/effects/blur_effect.dart:47:11: Error: No named parameter with the name 'enabled'.
enabled: sigmaX > minBlur || sigmaY > minBlur,
^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/widgets/image_filter.dart:26:9: Context: Found this candidate, but the arguments don't match.
const ImageFiltered({
^^^^^^^^^^^^^
我阅读了 flutter_animate 自述文件并尝试解决此问题
【问题讨论】:
标签: flutter animation package pubspec