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

Crash with Fluter 2.2.0 #86

Closed
Urkman opened this issue May 20, 2021 · 2 comments
Closed

Crash with Fluter 2.2.0 #86

Urkman opened this issue May 20, 2021 · 2 comments

Comments

@Urkman
Copy link

Urkman commented May 20, 2021

I get with error when trying to run an app with HashTagable:

** BUILD FAILED **
Xcode's output:

../sdk/.pub-cache/hosted/pub.dartlang.org/hashtagable-2.0.1/lib/widgets/hashtag_text_field.dart:1422:20: Error: The getter 'scrollShortcutOverrides' isn't defined for the class '_HashTagTextFieldState'.
- '_HashTagTextFieldState' is from 'package:hashtagable/widgets/hashtag_text_field.dart' ('../sdk/.pub-cache/hosted/pub.dartlang.org/hashtagable-2.0.1/lib/widgets/hashtag_text_field.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'scrollShortcutOverrides'.
shortcuts: scrollShortcutOverrides,
^^^^^^^^^^^^^^^^^^^^^^^
../sdk/.pub-cache/hosted/pub.dartlang.org/hashtagable-2.0.1/lib/widgets/hashtag_editable_text.dart:218:45: Error: Required named parameter 'context' must be provided.
return widget.controller.buildTextSpan(

@parmarravi
Copy link

I have commented the line manually as my app is running on mobile only.
The scrollShortcutOverrides is used for web platforms.
This fixed Gradle build for now

@santa112358
Copy link
Owner

Solved on latest version. Thank you for reporting this.

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

3 participants