Open meghead opened 3 years ago
I have the same problem.
Guys, there is a spelling mistake in that file >> preload_page_view.dart viewportDmension => viewportDimension In my case error was viewportDmension is not defined for class PageMetrics. here "i" was missing in dimension.
I have the same problem, and I found that "hasViewportDimension" has not been defined in anywhere. Flutter version : Flutter (Channel stable, 1.22.0, on Mac OS X 10.15.7 19H2, locale zh-Hans-CN)
+1
Any updates?
Same error here. Had to force 0.1.4 to build.
Same error here. Had to force 0.1.4 to build.
I don't know why but anyway flutter downloads 0.1.5, even if I wrote 0.1.4
Same error here. Had to force 0.1.4 to build.
I don't know why but anyway flutter downloads 0.1.5, even if I wrote 0.1.4
Are you using ^0.1.4 or 0.1.4? You need to remove the ^ character to force 0.1.4.
Here are the build errors;
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/preload_page_view-0.1.5/lib/preload_page_view.dart:250:21: Error: The getter 'hasViewportDimension' isn't defined for the class '_PagePosition'.