Skip to content
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

When upgrading to 6.0, Error: Type 'EditableTextContextMenuBuilder' not found. flutter_linkify.dart:192 #122

Open
dineiar opened this issue Jun 6, 2023 · 0 comments

Comments

@dineiar
Copy link

dineiar commented Jun 6, 2023

I am currently using flutter_linkify 5.0.2 on an app being built on Flutter 3.3.10 and Dart 2.18.6.

I tried to upgrade to flutter_linkify 6.0.0 (according to pub.dev, its minimum Dart SDK is 2.17 [here], so I should be able to use it with my current Dart version) and started receiving the following error on the build process:

: Error: Type 'EditableTextContextMenuBuilder' not found.              flutter_linkify.dart:192
  final EditableTextContextMenuBuilder? contextMenuBuilder;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

: Error: 'EditableTextContextMenuBuilder' isn't a type.                flutter_linkify.dart:192
flutter_linkify.dart:192
  final EditableTextContextMenuBuilder? contextMenuBuilder;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: Error: No named parameter with the name 'contextMenuBuilder'.        flutter_linkify.dart:295
flutter_linkify.dart:295
      contextMenuBuilder: contextMenuBuilder,
      ^^^^^^^^^^^^^^^^^^
: Context: Found this candidate, but the arguments don't match.        flutter_linkify.dart:234
selectable_text.dart:234
  const SelectableText.rich(
        ^^^^^^^^^^^^^^^^^^^

I believe this error is related to my Flutter/Dart version (I am planning to update it soon), but I decided to open this issue anyway due to the information provided in pub.dev that my version should be supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant