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

The getter 'kMinInteractiveSize' isn't defined for the class 'CodeEditableTextState #13

Closed
shuvojit007 opened this issue Sep 11, 2019 · 2 comments

Comments

@shuvojit007
Copy link

shuvojit007 commented Sep 11, 2019

Compiler message:
../../../../soft/flutter/.pub-cache/hosted/pub.dartlang.org/rich_code_editor-0.2.8/lib/code_editor/widgets/code_editable_text.dart:1388:11: Error: Getter not found: 'kMinInteractiveSize'.
          kMinInteractiveSize,
          ^^^^^^^^^^^^^^^^^^^
../../../../soft/flutter/.pub-cache/hosted/pub.dartlang.org/rich_code_editor-0.2.8/lib/code_editor/widgets/code_editable_text.dart:1388:11: Error: The getter 'kMinInteractiveSize' isn't defined for the class 'CodeEditableTextState'.
 - 'CodeEditableTextState' is from 'package:rich_code_editor/code_editor/widgets/code_editable_text.dart' ('../../../../soft/flutter/.pub-cache/hosted/pub.dartlang.org/rich_code_editor-0.2.8/lib/code_editor/widgets/code_editable_text.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'kMinInteractiveSize'.
          kMinInteractiveSize,
          ^^^^^^^^^^^^^^^^^^^
@ciiqr
Copy link

ciiqr commented Sep 13, 2019

This is an issue with the specific version of flutter. Basically, kMinInteractiveSize has been replaced with kMinInteractiveDimension.
@shuvojit007 until this library is updated, your best bet it to use an older version of flutter (1.8.4 works for me).
You can find more details in the flutter changelog: https://github.com/flutter/flutter/wiki/Changelog

@psovit
Copy link
Owner

psovit commented Jan 29, 2020

The library has now been updated to work with Flutter version Flutter 1.12.13+hotfix.7 .

@psovit psovit closed this as completed Jan 29, 2020
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