-
Notifications
You must be signed in to change notification settings - Fork 745
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
[BUG] There's an error with the library after making flutter upgrade #236
Comments
I have an issue with this too but flutter downgrade did not seem to work. |
After running a flutter upgrade, the Stack overflow property Stack( overflow: Overflow.visible ), was moved to flutter/rendering.dart package. Thus all the libraries that have a Stack overflow property give this error on build run [The getter 'Overflow' isn't defined for the class..] because they are not importing the import 'package:flutter/rendering.dart'; yet. I can see there is no solution for this till now, as it is so fresh. Moreover, I had another issue after upgrading, the "Show Version Icon" in pubspec.yaml disappeared in vscode. It was so handy that a dependency like: http: ^0.12.0+4 Appears as: Latest: ↑0.12.0+4 | Search http in Dart Packages |
I downgraded to a previous version on the master branch of flutter and it worked. |
Added import for |
I got the same here, after upgrading to the latest version. I took downgrading as a workaround for now! |
@m-jabrane are you talking about latest version of flutter or youtube_player_flutter ? Did the issue |
@sarbagyastha I'm talking about upgrading to the latest version of flutter. As for now they moved the Overflow.visible to a new package, I'm downgrading the version of flutter until it's fixed. |
@m-jabrane But v7.0.0 should have no issues with latest master/dev as i have tested on both. |
There are several packages that have this Overflow issue, not just the youtube_player_flutter package. |
@amohsen1001 But is it still breaking for youtube_player_flutter ? |
After making
flutter upgrade
to update to the latest version of the flutter sdk, I realized that youtube_player_flutter didn't allow me to create a successful build. I had to useflutter downgrade
to went back to the latest version to solve the issue. I just want to show you this bug so that it can be solved in order to work with the latest version of flutter.The text was updated successfully, but these errors were encountered: