-
Notifications
You must be signed in to change notification settings - Fork 26
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
MenuItem conflict on Flutter 3.0 #18
Comments
you can use import 'package:flutter/material.dart' hide MenuItem; |
The problem is that |
@lesnitsky Will this library be updated? It has been branded [UNIDENTIFIED] on pub.dev |
Finally, I use another package, |
That package has precisely the same issue. You still need to hide the |
@Adrian-Samoticha Maybe you could try this one https://pub.dev/packages/native_context_menu_ng |
After upgrade to Flutter 3.0, it have error:
../../.pub-cache/hosted/pub.dartlang.org/native_context_menu-0.2.1+4/lib/src/context_menu_region.dart:4:1: Error: 'MenuItem' is imported from both 'package:flutter/src/widgets/platform_menu_bar.dart' and 'package:native_context_menu/src/method_channel.dart'.
The text was updated successfully, but these errors were encountered: