Skip to content

There has been a problem with flutter_quill #1

@jinseok9338

Description

@jinseok9338

There has been a problem with flutter_quill.
When you launch your app with the flutter_quii dependency, the error messgae shows that says

../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_quill-4.2.3/lib/src/widgets/raw_editor.dart:233:7: Error: The non-abstract class 'RawEditorState' is missing implementations for
these members:
 - TextInputClient.insertTextPlaceholder
 - TextInputClient.removeTextPlaceholder
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class RawEditorState extends EditorState
      ^^^^^^^^^^^^^^
../flutter/packages/flutter/lib/src/services/text_input.dart:1161:8: Context: 'TextInputClient.insertTextPlaceholder' is defined here.
  void insertTextPlaceholder(Size size) {}
       ^^^^^^^^^^^^^^^^^^^^^
../flutter/packages/flutter/lib/src/services/text_input.dart:1164:8: Context: 'TextInputClient.removeTextPlaceholder' is defined here.
  void removeTextPlaceholder() {}
       ^^^^^^^^^^^^^^^^^^^^^

I couldn't figure out why it happened, but workaround for now is to edit flutter_quill: ^4.1.0 -> flutter_quill:
git:
url: https://github.com/myfknoll/flutter-quill.git

  flutter_quill:
    git:
      url: https://github.com/myfknoll/flutter-quill.git

And I am not sure why but the authentication doesn't seem to work either, the registration works fine but the app won't let me navigate to the document page. I will look into it later

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions