Skip to content

fix: implement onFocusReceived() for Flutter 3.44.0 compatibility#2

Open
mehrozh07 wants to merge 1 commit into
T-Pro:feature/removeXclipfrom
mehrozh07:feature/removeXclip
Open

fix: implement onFocusReceived() for Flutter 3.44.0 compatibility#2
mehrozh07 wants to merge 1 commit into
T-Pro:feature/removeXclipfrom
mehrozh07:feature/removeXclip

Conversation

@mehrozh07

Copy link
Copy Markdown

Problem

Flutter 3.44.0 added onFocusReceived() to the TextInputClient
interface. The QuillRawEditorState class (via its mixin) was missing
this implementation, causing dart2js web builds to fail with:

Error: The non-abstract class 'QuillRawEditorState' is missing
implementations for these members:

  • TextInputClient.onFocusReceived

Fix

Added the missing method implementation:

@override
bool onFocusReceived() => false;

Testing

  • Tested with Flutter 3.44.0
  • Web build compiles successfully with dart2js

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

Successfully merging this pull request may close these issues.

1 participant