skip to Main Content
C:UsersptlDocumentsApp DevChurchApp_Flutter>flutter build apk --no-shrink

../../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_quill-6.1.6/lib/src/widgets/text_selection.dart:772:9: Error: Type 'DragSelectionUpdateCallback' not found.
  final DragSelectionUpdateCallback? onDragSelectionUpdate;
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Am getting this error, i tried to installed and uninstalled flutter as i someone said that worked for him but i am still getting the same issue. I am using the latest version of flutter as of when getting this error that’s version 3.10.5. i get the error when i try to build apk i have tried to the best of my knowledge as nothing has worked for me searched google and not getting any similar error anywhere

2

Answers


  1. Try to install the library that appears on your screen

    Login or Signup to reply.
  2. the problem is not with flutter but with your code.
    DragSelectionUpdateCallback has been removed in flutter version 3.10
    you have to use TextSelectionGestureDetector instead.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search