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

Error Scale getter 'delta' #23

Closed
mat-his opened this issue Nov 16, 2021 · 2 comments
Closed

Error Scale getter 'delta' #23

mat-his opened this issue Nov 16, 2021 · 2 comments

Comments

@mat-his
Copy link

mat-his commented Nov 16, 2021

I see several errors in my logs when I try to run the graphic plugin. Indeed, they refer to the file selection.dart and defaults.dart. These files use the getter 'delta', but it doesn't exist in scale.dart (snap/flutter/common/flutter/packages/flutter/lib/src/gestures/scale.dart).

I correct this problem by replacing all getter 'delta' with getter 'focalPointDelta' .

my environnment =
sdk: '>=2.12.0 <3.0.0'
flutter: ">=2.0.0-3.0"

@entronad
Copy link
Owner

entronad commented Nov 17, 2021

I guess your flutter SDK version (See by flutter --version) is above 2.6.0?

Please see details in #21.

@entronad
Copy link
Owner

We have constrained flutter version to '>=2.4.0 <2.6.0' for ScaleUpdate.delta in v0.5.0.
And we will keep upgrading when flutter stable channel gets above 2.6.0.

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