Describe the bug
/youtube_player_flutter-7.0.0+7/lib/src/player/youtube_player.dart(296,9): error GBF4691A2: No named parameter with the name 'overflow'.
Technical Details:
1.22.0-10.0.pre.251Additional context
Refer to the following issue: https://github.com/flutter/flutter/issues/66030
I am getting the same after a Flutter upgrade:
/C:/src/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/youtube_player_flutter-7.0.0+7/lib/src/player/youtube_player.dart:296:9: Error: No named
parameter with the name 'overflow'.
overflow: Overflow.visible,
^^^^^^^^
After Flutter was upgraded to this version, it started compiling with errors:
C:\development\cevents>flutter doctor -v
[√] Flutter (Channel master, 1.22.0-10.0.pre.221, on Microsoft Windows [Version 10.0.19041.508], locale en-US)
• Flutter version 1.22.0-10.0.pre.221 at C:\src\flutter\flutter
• Framework revision fa646339d6 (2 days ago), 2020-09-16 17:47:04 -0700
• Engine revision 933f811d94
• Dart version 2.10.0 (build 2.10.0-135.0.dev)
Same here after upgrade and reload
Performing hot reload...
Syncing files to device iPhone SE (2nd generation)...
../flutter/.pub-cache/hosted/pub.dartlang.org/youtube_player_flutter-7.0.0+7/lib/src/player/youtube_player.dart:296:9: Error: No named parameter with the name 'overflow'.
overflow: Overflow.visible,
^^^^^^^^
../flutter/packages/flutter/lib/src/widgets/basic.dart:3273:3: Context: Found this candidate, but the arguments don't match.
Stack({
^^^^^
flutter doctor
```
[✓] Flutter (Channel master, 1.22.0-10.0.pre.269, 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)
[✓] Android Studio (version 4.0)
[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.2)
[✓] Connected device (1 available)
Same here: Flutter 1.22.0-10.0.pre.293 • channel master •
You just need to change line 296 in Stack overflow: Overflow.visible to this:
clipBehavior: Clip.none,
I've had to do this annoying fix everywhere, having to change a dozen dependencies with that line. Simple enough fix at least for everyone on dev and master channels, should probably be updated for next release.
Any updatee?
Most helpful comment
You just need to change line 296 in Stack overflow: Overflow.visible to this:
clipBehavior: Clip.none,
I've had to do this annoying fix everywhere, having to change a dozen dependencies with that line. Simple enough fix at least for everyone on dev and master channels, should probably be updated for next release.