-
Notifications
You must be signed in to change notification settings - Fork 229
Pub dry run meta package issue on Flutter #1830
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
Comments
@lukef: Do you have Even though Flutter provides some of them in |
@matanlurey - I don't have that package in my This is more a Flutter issue (which I raised over there) but, in general, its one of those cases where it's semi-unclear which one to use because dart + flutter overlap. My mindset was to use the dart package but, in hindsight, I don't have a super good reason for why I picked that one. Is there guidance either way? I'd be happy to submit a Flutter documentation PR / Issue also. |
Anything that has |
From @lukef on March 5, 2018 17:49
If you use the
@required
annotation and combine it withimport 'package:meta/meta.dart';
thenpub publish --dry-run
will report that themeta
package is not used. If it is replaced withimport 'package:flutter/foundation.dart';
then the problem goes away.Copied from original issue: dart-lang/sdk#32418
The text was updated successfully, but these errors were encountered: