HomeiOS Developmentandroid - How do I repair this flutter app construct error?

android – How do I repair this flutter app construct error?


Error that I’m dealing with at any time when I attempt to construct my app:

`: Error: Sort 'DragSelectionUpdateCallback' not discovered.
text_selection.dart:716
  ultimate DragSelectionUpdateCallback? onDragSelectionUpdate;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
: Error: 'DragSelectionUpdateCallback' is not a sort.
text_selection.dart:716
  ultimate DragSelectionUpdateCallback? onDragSelectionUpdate;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
: Error: The non-abstract class 'RawEditorState' is lacking implementations for these members:
raw_editor.dart:254
 - TextInputClient.insertContent
Attempt to both
 - present an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the category as summary, or
 - present a 'noSuchMethod' implementation.

class RawEditorState extends EditorState
      ^^^^^^^^^^^^^^
: Context: 'TextInputClient.insertContent' is outlined right here.
text_input.dart:1117
  void insertContent(KeyboardInsertedContent content material) {}
       ^^^^^^^^^^^^^

Goal kernel_snapshot failed: Exception
2

FAILURE: Construct failed with an exception.

* The place:
Script '/Customers/wikijit/flutter_development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1201

* What went fallacious:
Execution failed for job ':app:compileFlutterBuildDebug'.
> Course of 'command '/Customers/wikijit/flutter_development/flutter/bin/flutter'' completed with non-zero exit worth 1
* Strive:
> Run with --stacktrace choice to get the stack hint.
> Run with --info or --debug choice to get extra log output.
> Run with --scan to get full insights.

* Get extra assist at https://assist.gradle.org

BUILD FAILED in 12s
Exception: Gradle job assembleDebug failed with exit code 1
Exited`

I get this error whereas I’m attempting to construct a notes app (https://www.youtube.com/watch?v=BUCCHdKwKxE&t=760s) on flutter, may anybody assist me by telling what is that this error and the way can I repair it?

I adopted the steps precisely as talked about within the video : https://www.youtube.com/watch?v=BUCCHdKwKxE&t=760s and have reched until creating of including notes web page (round 13:00 within the video) however now the app will not be getting constructed. Previous to creating this when solely the house web page was made no points have been there whereas constructing.

I’ve additionally tried working flutter physician on the terminal however there are not any points current henceforth I’m much more confused why is that this occurring.

I’m an entire newbie in flutter app growth so if anybody has confronted any comparable concern or is aware of any answer please assist me with it as I’m very a lot confused as to how I can repair this concern.

Thank You!

Be aware: I’m utilizing VS code for writing the code and have related my android gadget utilizing USB debugging to run the app on it for testing.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments