akshathjain / sliding_up_panel

A draggable Flutter widget that makes implementing a SlidingUpPanel much easier!
https://pub.dartlang.org/packages/sliding_up_panel
Other
1.36k stars 378 forks source link

Flutter new update causes crash #193

Open MATTYGILO opened 4 years ago

MATTYGILO commented 4 years ago

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):

Sample main.dart

`

gian-almada commented 4 years ago

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

Adem68 commented 4 years ago

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 commented 3 years ago

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

Hem1700 commented 3 years ago

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

juanleondev commented 3 years ago

i have the same issue, pls fix this

omidraha commented 3 years ago

Please merge.