From ff6f81f6c72c420db70c0aba024fc6fa5c5129c5 Mon Sep 17 00:00:00 2001 From: Cyp Date: Wed, 6 Dec 2023 09:35:22 +0100 Subject: [PATCH] Fix build with Flutter 3.16. Bump version to 1.6.0. Fixes #66. --- lib/src/widgets/editor.dart | 13 ++++++++++++- pubspec.yaml | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/lib/src/widgets/editor.dart b/lib/src/widgets/editor.dart index 147f3da..d064963 100644 --- a/lib/src/widgets/editor.dart +++ b/lib/src/widgets/editor.dart @@ -736,7 +736,6 @@ class RawEditorState extends EditorState // Cursors CursorController? _cursorController; - FloatingCursorController? _floatingCursorController; // Keyboard late keyboard.KeyboardListener _keyboardListener; @@ -1343,6 +1342,18 @@ class RawEditorState extends EditorState @override bool get liveTextInputEnabled => false; + + @override + // TODO: implement lookUpEnabled + bool get lookUpEnabled => false; + + @override + // TODO: implement searchWebEnabled + bool get searchWebEnabled => false; + + @override + // TODO: implement shareEnabled + bool get shareEnabled => false; } class _Editor extends MultiChildRenderObjectWidget { diff --git a/pubspec.yaml b/pubspec.yaml index 7d38e5b..4112851 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: zefyrka description: Clean, minimalistic and collaboration-ready rich text editor for Flutter based on Zefyr package. -version: 1.5.0 +version: 1.6.0 homepage: https://github.com/glynskyi/zefyrka environment: