The setter 'imageFilter' isn't defined for the class 'Paint'
The-five-stooges opened this issue · 1 comments
The-five-stooges commented
Compiler message:
file:///C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/flare_flutter-1.8.2/lib/flare.dart:1331:18: Error: The setter 'imageFilter' isn't defined for the class 'Paint'.
- 'Paint' is from 'dart:ui'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'imageFilter'.
layerPaint.imageFilter = _blurFilter(baseBlurX, baseBlurY);
^^^^^^^^^^^
file:///C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/flare_flutter-1.8.2/lib/flare.dart:1347:13: Error: The setter 'imageFilter' isn't defined for the class 'Paint'.
- 'Paint' is from 'dart:ui'.
Try correcting the name to the name of an existing setter, or defining a setter or field named 'imageFilter'.
..imageFilter = _blurFilter(
^^^^^^^^^^^
file:///C:/flutter/.pub-cache/hosted/pub.flutter-io.cn/flare_flutter-1.8.2/lib/flare.dart:1391:13: Error: The getter 'ui' isn't defined for the class 'Paint'.
- 'Paint' is from 'dart:ui'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'ui'.
..ui.imageFilter = _blurFilter(
^^
Compiler failed on F:\ashenone_app\lib\main.dart
Finished with error: Gradle task assembleDebug failed with exit code 1
flare_flutter version is 1.8.2 and flutter version is v1.7.8+hotfix.4
The-five-stooges commented
update to flutter v1.9.1+hotfix.6 problem solved