Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile failed #35

Closed
Vadaski opened this issue Sep 9, 2018 · 2 comments
Closed

compile failed #35

Vadaski opened this issue Sep 9, 2018 · 2 comments

Comments

@Vadaski
Copy link

Vadaski commented Sep 9, 2018

compiler message: file:///C:/src/flutter/.pub-cache/hosted/pub.flutter-io.cn/zefyr-0.1.2/lib/src/widgets/common.dart:96:61: Error: The getter 'offset' isn't defined for the class 'dart.core::double'.
compiler message: Try correcting the name to the name of an existing getter, or defining a getter or field named 'offset'.
compiler message: double target = viewport.getOffsetToReveal(object, 0.0).offset;

@pulyaevskiy
Copy link
Contributor

You are likely on a very old build of Flutter SDK. Try to upgrade to at least beta 0.6 or later, this should fix it.

@Vadaski
Copy link
Author

Vadaski commented Sep 27, 2018

Thank you,I have upgraded to the latest version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants