I am using flutter 3.13.0 . flutter_quill I am using [7.1.16+1] version . I tried downgrading versions till 7.0.0 .still I am getting same error . just i added the package and just imported it using this line
import 'package:flutter_quill/flutter_quill.dart' as quill;
can any one help me This is my console.
Launching lib/main.dart on sdk gphone x86 64 in debug mode...
../../.pub-cache/hosted/pub.dev/flutter_quill-7.1.16+1/lib/src/widgets/text_selection.dart:716:9: Error: Type 'DragSelectionUpdateCallback' not found.
final DragSelectionUpdateCallback? onDragSelectionUpdate;
^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/flutter_quill-7.1.16+1/lib/src/widgets/text_selection.dart:716:9: Error: 'DragSelectionUpdateCallback' isn't a type.
final DragSelectionUpdateCallback? onDragSelectionUpdate;
^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/flutter_quill-7.1.16+1/lib/src/widgets/raw_editor.dart:277:7: Error: The non-abstract class 'RawEditorState' is missing implementations for these members:
TextInputClient.insertContent
TextSelectionDelegate.liveTextInputEnabled
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
^^^^^^^^^^^^^^
../../tools/flutter/packages/flutter/lib/src/services/text_input.dart:1124:8: Context: 'TextInputClient.insertContent' is defined here.
void insertContent(KeyboardInsertedContent content) {}
^^^^^^^^^^^^^
../../tools/flutter/packages/flutter/lib/src/services/text_input.dart:1058:12: Context: 'TextSelectionDelegate.liveTextInputEnabled' is defined here.
bool get liveTextInputEnabled => false;
^^^^^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/flutter_quill-7.1.16+1/lib/src/widgets/raw_editor.dart:333:47: Error: Required named parameter 'onLiveTextInput' must be provided.
return EditableText.getEditableButtonItems(
^
../../tools/flutter/packages/flutter/lib/src/widgets/editable_text.dart:1832:38: Context: Found this candidate, but the arguments don't match.
static List getEditableButtonItems({
^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
Where:
Script '/Users/sattiramyasri/tools/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1297
What went wrong:
Execution failed for task ':app:compileFlutterBuildStagingDebug'.
Process 'command '/Users/sattiramyasri/tools/flutter/bin/flutter'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 12s
Exception: Gradle task assembleStagingDebug failed with exit code 1
Exited (1).
Thanks in Advance
i tried downgrading the packages.but it didn't helped me .