octomato / preload_page_view

Flutter pre-load PageView widget
Apache License 2.0
164 stars 49 forks source link

Build failing in 0.15 on Stable Channel #24

Open meghead opened 3 years ago

meghead commented 3 years ago

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'.

matthi95 commented 3 years ago

I have the same problem.

Mohammadwabeel commented 3 years ago

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.

LiJiyaoisrunning commented 3 years ago

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)

AhmedNourJamalElDin commented 3 years ago

+1

KerJen commented 3 years ago

Any updates?

rodrigoschaefer commented 3 years ago

Same error here. Had to force 0.1.4 to build.

KerJen commented 3 years ago

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

rodrigoschaefer commented 3 years ago

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.