flutter_xlider icon indicating copy to clipboard operation
flutter_xlider copied to clipboard

Error: No named parameter with the name 'overflow' on master channel

Open sanekyy opened this issue 5 years ago • 1 comments
trafficstars

After upgrade flutter in the latest master channel 1.22.0-10.0.pre.251 , I have this build error:

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


FAILURE: Build failed with an exception.

This line causing this error because overflow is removed in Stack acorrding issue flutter/flutter#66030 It needs to be changed into clipBehavior flutter doctor:

[✓] Flutter (Channel master, 1.22.0-10.0.pre.251, on Mac OS X 10.15.6 19G2021 x86_64, locale en-US)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
[✓] Chrome - develop for the web
[!] Android Studio (version 4.0)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.49.0)
[✓] Connected device (3 available)

! Doctor found issues in 1 category.

sanekyy avatar Sep 25 '20 17:09 sanekyy

Was a solution ever found for this? I am having the same issue.

nicole-tech-studio avatar Mar 14 '23 22:03 nicole-tech-studio