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

isPointerOverScrollbar Error #15

Open
vinnchan opened this issue Jun 21, 2021 · 4 comments
Open

isPointerOverScrollbar Error #15

vinnchan opened this issue Jun 21, 2021 · 4 comments

Comments

@vinnchan
Copy link

my yaml file:
environment:
sdk: ">=2.12.0 <3.0.0"

dependencies:
flutter:
sdk: flutter

cupertino_icons: ^1.0.2
boardview: ^0.2.1

When I flutter run
../../developer/flutter/.pub-cache/hosted/pub.dartlang.org/boardview-0.2.2/lib/vs_scrollbar.dart:321:31: Error: Too many positional arguments: 1 allowed, but 2 found.
Try removing the extra positional arguments.
if (isPointerOverScrollbar(event.position,PointerDeviceKind.mouse)) {

@MinSomai
Copy link

MinSomai commented Jun 29, 2021

same issue, this issue has been resolved in vs_scrollbar 0.2.1

@selmaskopljakovic
Copy link

How to resolve this?

@MinSomai
Copy link

How to resolve this?

Hey @selmaskopljakovic ! This is a temporary solution I'm using. I've forked the boardview and updated vs_scrollbar package.

dependencies:
  flutter:
    sdk: flutter

  boardview:
    git:
      url: https://github.com/MinSomai/FlutterBoardView.git
      ref: master

@selmaskopljakovic
Copy link

selmaskopljakovic commented Jul 15, 2021

Hey @MinSomai,
thank you!
But sorry, this is not working for me. The same error...
..../Pub/Cache/hosted/pub.dartlang.org/vs_scrollbar-0.2.1/lib/vs_scrollbar.dart:317:31: Error: Too many positional arguments: 1 allowed, but 2 found.
Try removing the extra positional arguments.
if (isPointerOverScrollbar(event.position, event.kind)) {
^

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

3 participants