../../../Documents/pub-cache/hosted/pub.flutter-io.cn/easy_refresh-3.4.0/lib/src/physics/scroll_physics.dart:426:27: Error: The method 'toleranceFor' isn't defined for the class '_ERScrollPhysics'.
'_ERScrollPhysics' is from 'package:easy_refresh/easy_refresh.dart' ('../../../Documents/pub-cache/hosted/pub.flutter-io.cn/easy_refresh-3.4.0/lib/easy_refresh.dart').
Try correcting the name to the name of an existing method, or defining a method named 'toleranceFor'.
Tolerance tolerance = toleranceFor(position);
^^^^^^^^^^^^
Flutter: 3.7.13 Dart: 2.9.6 iOS 12.0
../../../Documents/pub-cache/hosted/pub.flutter-io.cn/easy_refresh-3.4.0/lib/src/physics/scroll_physics.dart:426:27: Error: The method 'toleranceFor' isn't defined for the class '_ERScrollPhysics'.