modal_bottom_sheet icon indicating copy to clipboard operation
modal_bottom_sheet copied to clipboard

BallisticScrollActivity | Too few positional arguments: 4 required, 3 given.

Open milksense opened this issue 3 years ago • 5 comments

Live example with sheet ^0.0.4+1 where in file pubspec.yaml

16 sheet:
17    path: ../

changed to 16 sheet: ^0.0.4+1

Flutter doctor says: Flutter (Channel master, 3.5.0-6.0.pre.37, on Microsoft Windows [Version 10.0.22000.1098], locale en-US)

../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/sheet-0.0.4+1/lib/src/scroll_controller.dart:130:32: Error: Too few positional arguments: 4 required, 3 given.
        BallisticScrollActivity(
                               ^
/C:/flutter/packages/flutter/lib/src/widgets/scroll_activity.dart:528:3: Context: Found this candidate, but the arguments don't match.
  BallisticScrollActivity(
  ^^^^^^^^^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/sheet-0.0.4+1/lib/src/scroll_controller.dart:169:32: Error: Too few positional arguments: 4 required, 3 given.
        BallisticScrollActivity(
                               ^
/C:/flutter/packages/flutter/lib/src/widgets/scroll_activity.dart:528:3: Context: Found this candidate, but the arguments don't match.
  BallisticScrollActivity(
  ^^^^^^^^^^^^^^^^^^^^^^^

milksense avatar Oct 14 '22 06:10 milksense

Thanks for creating an issue! There might be a new breaking change in master, will take a look into it asap

jamesblasco avatar Oct 14 '22 07:10 jamesblasco

@jamesblasco Have you solved this issue? 🤔

milksense avatar Oct 16 '22 17:10 milksense

Same issue exists. Cannot use package otherwise.

doug-orchard avatar Nov 14 '22 20:11 doug-orchard

Yup, wanted to give it a try, but this bug is still there

kamami avatar Nov 28 '22 16:11 kamami

It works with this version in pubspec: sheet: ^1.0.0-pre

radicand avatar Jan 30 '23 17:01 radicand