flutter_xlider
flutter_xlider copied to clipboard
flutter_xlider: ^3.4.0 - Compile error with Flutter 3.0.0
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
As per Flutter SDK issue:- https://github.com/flutter/flutter/issues/66030#issuecomment-694876279
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
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((_) {
^
Temporary workaround:
flutter_xlider:
git:
url: https://github.com/swaroopsuthar/flutter_xlider.git
ref: master
can't someone update the pub version?