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_xlider: ^3.4.0 - Compile error with Flutter 3.0.0 #128

Open
ravinder-bb opened this issue May 13, 2022 · 4 comments
Open

flutter_xlider: ^3.4.0 - Compile error with Flutter 3.0.0 #128

ravinder-bb opened this issue May 13, 2022 · 4 comments

Comments

@ravinder-bb
Copy link

Hello everyone,

I'm getting the following error many Errors: Error: No named parameter with the name 'overflow'. and Context: Found this candidate, but the arguments don't match. once I upgraded to Flutter 3.0.0 today:


/home/user/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_xlider-3.4.0/lib/flutter_xlider.dart:322:19: Error: No named parameter with the name 'overflow'.
                  overflow: Overflow.visible,
                  ^^^^^^^^
/home/user/snap/flutter/common/flutter/packages/flutter/lib/src/widgets/basic.dart:3708:3: Context: Found this candidate, but the arguments don't match.
  Stack({

  ^^^^^

Hopefully it's something that can get addressed soon!

Thank you,
Ravinder

@swaroopsuthar
Copy link

As per Flutter SDK issue:-
flutter/flutter#66030 (comment)

Master branch already modified that issue but the pub version has not been updated use this.

Temporary workaround:

flutter_xlider:
  git:
    url: https://github.com/Ali-Azmoud/flutter_xlider.git
    ref: master

@ravinder-bb
Copy link
Author

Thanks @swaroopsuthar,

But i got any other issue

/home/user/snap/flutter/common/flutter/.pub-cache/git/flutter_xlider-ef4a358f84bb6a6119b213fef6f759f22246c882/lib/flutter_xlider.dart:442:20: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('/home/user/snap/flutter/common/flutter/packages/flutter/lib/src/widgets/binding.dart').
    WidgetsBinding.instance!.addPostFrameCallback((_) {
                   ^

@swaroopsuthar
Copy link

swaroopsuthar commented May 13, 2022

Temporary workaround:

flutter_xlider:
  git:
    url: https://github.com/swaroopsuthar/flutter_xlider.git
    ref: master

@maitycyrus
Copy link

maitycyrus commented Sep 8, 2022

can't someone update the pub version?

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