fluttercandies / extended_text

A powerful extended official text for Flutter, which supports Speical Text(Image,@somebody), Custom Background, Custom overFlow, Text Selection.
MIT License
664 stars 134 forks source link

which version could i use in 1.20.x? #93

Closed Ralph-Li closed 3 years ago

Ralph-Li commented 3 years ago

here's the erro when i use the latest version

../../../.pub-cache/hosted/pub.dartlang.org/extended_text_library-4.0.3/lib/src/selection/cupertino_text_selection_controls.dart:788:7: Error: The non-abstract class 'ExtendedCupertinoTextSelectionToolbarItemsElement' is missing implementations for these members:
 - RenderObjectElement.insertChildRenderObject
 - RenderObjectElement.moveChildRenderObject
 - RenderObjectElement.removeChildRenderObject
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 ExtendedCupertinoTextSelectionToolbarItemsElement
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../flutter_prototype/packages/flutter/lib/src/widgets/framework.dart:5747:8: Context: 'RenderObjectElement.insertChildRenderObject' is defined here.
  void insertChildRenderObject(covariant RenderObject child, covariant dynamic slot);
       ^^^^^^^^^^^^^^^^^^^^^^^
../../flutter_prototype/packages/flutter/lib/src/widgets/framework.dart:5764:8: Context: 'RenderObjectElement.moveChildRenderObject' is defined here.
  void moveChildRenderObject(covariant RenderObject child, covariant dynamic slot);
       ^^^^^^^^^^^^^^^^^^^^^
../../flutter_prototype/packages/flutter/lib/src/widgets/framework.dart:5770:8: Context: 'RenderObjectElement.removeChildRenderObject' is defined here.
  void removeChildRenderObject(covariant RenderObject child);
zmtzawqlp commented 3 years ago

The latest version of extended_text is working for 1.22(stable branch of flutter).

4.0.0 Merge from Flutter v1.20

dependency_overrides: extended_text_library: 4.0.0

zmtzawqlp commented 3 years ago

5.0.0-non-null-safety