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

Flutter new update causes crash #193

Open
MATTYGILO opened this issue Sep 13, 2020 · 6 comments · May be fixed by #195
Open

Flutter new update causes crash #193

MATTYGILO opened this issue Sep 13, 2020 · 6 comments · May be fixed by #195

Comments

@MATTYGILO
Copy link

Describe the bug
./../flutter/.pub-cache/hosted/pub.dartlang.org/sliding_up_panel-1.0.2/lib/src/panel.dart:218:44: Error: Too few positional arguments: 1 required, 0 given.
VelocityTracker _vt = new VelocityTracker();
^
../../flutter/packages/flutter/lib/src/gestures/velocity_tracker.dart:152:3: Context: Found this candidate, but the arguments don't match.
VelocityTracker(this.kind);
To Reproduce
Using the plugin

Expected behavior
n/a
Screenshots
n/a

Additional context
I have updated to the newest version of flutter causing my device to crash on start

Smartphone (please complete the following information):

  • Device:iphone 7
  • OS: iOS 13
  • Flutter Version newest
  • sliding_up_panel Version newest

Sample main.dart

`

@gian-almada
Copy link

can anyone fix this issue, i cant run my app after upgrading flutter

@Adem68
Copy link

Adem68 commented Sep 16, 2020

If you want to solve this issue, you can import dependency via git. Look to below code 👇

sliding_up_panel:
    git:
      url: git://github.com/Adem68/sliding_up_panel.git

@josh-burton thanks for fix.

@akshathjain
Copy link
Owner

Investigating, will merge #195 in the next day or two.

@Hem1700
Copy link

Hem1700 commented Sep 21, 2020

Has it been merged yet because I am still facing the same error

@juanleondev
Copy link

i have the same issue, pls fix this

@omidraha
Copy link

Please merge.

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

Successfully merging a pull request may close this issue.

7 participants