Open AsherDubai opened 2 weeks ago
升级下2.6.6版本,已经修复这个问题了 @AsherDubai
You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply
You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply
../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/extended/text_overflow_mixin.dart:882:31: Error: The method 'TextOverflowMixin.layoutInlineChildren' has fewer positional arguments than those of overridden method 'RenderBox with ContainerRenderObjectMixin, RenderInlineChildrenContainerDefaults.layoutInlineChildren'. List layoutInlineChildren( ^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:12:7: Context: This is the overridden method ('layoutInlineChildren'). class _RenderParagraph extends RenderBox ^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/extended/rendering/paragraph.dart:31:7: Error: Applying the mixin 'TextOverflowMixin' to '_RenderParagraph' introduces an erroneous override of 'layoutInlineChildren'. class ExtendedRenderParagraph extends _RenderParagraph ^^^^^^^^^^^^^^^^^^^^^^^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/extended/text_overflow_mixin.dart:882:31: Context: The method 'TextOverflowMixin.layoutInlineChildren' has fewer positional arguments than those of overridden method 'RenderBox with ContainerRenderObjectMixin, RenderInlineChildrenContainerDefaults.layoutInlineChildren'. List layoutInlineChildren( ^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:12:7: Context: This is the overridden method ('layoutInlineChildren'). class _RenderParagraph extends RenderBox ^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/extended/rendering/paragraph.dart:31:7: Error: Class '_RenderParagraph with TextOverflowMixin, SelectionMixin with GradientMixin' inherits multiple members named 'RenderInlineChildrenContainerDefaults.layoutInlineChildren%TextOverflowMixin.layoutInlineChildren%TextOverflowMixin.layoutInlineChildren' with incompatible signatures. Try adding a declaration of 'RenderInlineChildrenContainerDefaults.layoutInlineChildren%TextOverflowMixin.layoutInlineChildren%TextOverflowMixin.layoutInlineChildren' to '_RenderParagraph with TextOverflowMixin, SelectionMixin with GradientMixin'. class ExtendedRenderParagraph extends _RenderParagraph ^ ../../../../fvm/versions/3.24.3/packages/flutter/lib/src/rendering/paragraph.dart:167:31: Context: This is one of the overridden members. List layoutInlineChildren(double maxWidth, ChildLayouter layoutChild, ChildBaselineGetter getChildBaseline) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... ../../../../fvm/versions/3.24.3/packages/flutter/lib/src/rendering/paragraph.dart:167:31: Context: This is one of the overridden members. List layoutInlineChildren(double maxWidth, ChildLayouter layoutChild, ChildBaselineGetter getChildBaseline) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../../../../.pub-cache/hosted/pub.dev/extended_text_field-15.0.0/lib/src/official/rendering/editable.dart:1827:29: Error: Too few positional arguments: 3 required, 2 given. layoutInlineChildren( ^ ../../../../.pub-cache/hosted/pub.dev/extended_text_field-15.0.0/lib/src/official/rendering/editable.dart:1844:29: Error: Too few positional arguments: 3 required, 2 given. layoutInlineChildren( ^ ../../../../.pub-cache/hosted/pub.dev/extended_text_field-15.0.0/lib/src/official/rendering/editable.dart:1940:29: Error: Too few positional arguments: 3 required, 2 given. layoutInlineChildren(width, ChildLayoutHelper.dryLayoutChild)); ^ ../../../../.pub-cache/hosted/pub.dev/extended_text_field-15.0.0/lib/src/official/rendering/editable.dart:2364:54: Error: Too few positional arguments: 3 required, 2 given. ..setPlaceholderDimensions(layoutInlineChildren( ^ ../../../../.pub-cache/hosted/pub.dev/extended_text_field-15.0.0/lib/src/official/rendering/editable.dart:2377:50: Error: Too few positional arguments: 3 required, 2 given. _placeholderDimensions = layoutInlineChildren( ^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:400:29: Error: Too few positional arguments: 3 required, 2 given. layoutInlineChildren( ^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:417:29: Error: Too few positional arguments: 3 required, 2 given. layoutInlineChildren( ^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:436:35: Error: Too few positional arguments: 3 required, 2 given. layoutInlineChildren(width, ChildLayoutHelper.dryLayoutChild)) ^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:576:58: Error: Too few positional arguments: 3 required, 2 given. ..setPlaceholderDimensions(layoutInlineChildren( ^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:588:50: Error: Too few positional arguments: 3 required, 2 given. _placeholderDimensions = layoutInlineChildren( ^ ../../../../.pub-cache/hosted/pub.dev/tencent_cloud_chat_message-1.6.1/lib/tencent_cloud_chat_message_widgets/menu/selection_area/tencent_selectable_region.dart:1631:19: Error: The type 'SelectionEventType' is not exhaustively matched by the switch cases since it doesn't match 'SelectionEventType.selectParagraph'.
- 'SelectionEventType' is from 'package:flutter/src/rendering/selection.dart' ('../../../../fvm/versions/3.24.3/packages/flutter/lib/src/rendering/selection.dart'). Try adding a default case or cases that match 'SelectionEventType.selectParagraph'. switch (event.type) { ^ ../../../../.pub-cache/hosted/pub.dev/tencent_cloud_chat_message-1.6.1/lib/tencent_cloud_chat_message_widgets/menu/selection_area/tencent_selectable_region.dart:2371:19: Error: The type 'SelectionEventType' is not exhaustively matched by the switch cases since it doesn't match 'SelectionEventType.selectParagraph'.
- 'SelectionEventType' is from 'package:flutter/src/rendering/selection.dart' ('../../../../fvm/versions/3.24.3/packages/flutter/lib/src/rendering/selection.dart'). Try adding a default case or cases that match 'SelectionEventType.selectParagraph'. switch (event.type) { ^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:1241:17: Error: The type 'TextGranularity' is not exhaustively matched by the switch cases since it doesn't match 'TextGranularity.paragraph'.
- 'TextGranularity' is from 'package:flutter/src/rendering/selection.dart' ('../../../../fvm/versions/3.24.3/packages/flutter/lib/src/rendering/selection.dart'). Try adding a default case or cases that match 'TextGranularity.paragraph'. switch (granularity) { ^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:1234:19: Error: The type 'SelectionEventType' is not exhaustively matched by the switch cases since it doesn't match 'SelectionEventType.selectParagraph'.
- 'SelectionEventType' is from 'package:flutter/src/rendering/selection.dart' ('../../../../fvm/versions/3.24.3/packages/flutter/lib/src/rendering/selection.dart'). Try adding a default case or cases that match 'SelectionEventType.selectParagraph'. switch (event.type) { ^ ../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:1761:13: Error: The type 'TextGranularity' is not exhaustively matched by the switch cases since it doesn't match 'TextGranularity.paragraph'.
- 'TextGranularity' is from 'package:flutter/src/rendering/selection.dart' ('../../../../fvm/versions/3.24.3/packages/flutter/lib/src/rendering/selection.dart'). Try adding a default case or cases that match 'TextGranularity.paragraph'. switch (granularity) { ^ Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
升级下2.6.6版本,已经修复这个问题了
You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply
You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/to/flutter-gradle-plugin-apply
../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/extended/text_overflow_mixin.dart:882:31: Error: The method 'TextOverflowMixin.layoutInlineChildren' has fewer positional arguments than those of overridden method 'RenderBox with ContainerRenderObjectMixin, RenderInlineChildrenContainerDefaults.layoutInlineChildren'. List layoutInlineChildren(
^
../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:12:7: Context: This is the overridden method ('layoutInlineChildren').
class _RenderParagraph extends RenderBox
^
../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/extended/rendering/paragraph.dart:31:7: Error: Applying the mixin 'TextOverflowMixin' to '_RenderParagraph' introduces an erroneous override of 'layoutInlineChildren'.
class ExtendedRenderParagraph extends _RenderParagraph
^^^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/extended/text_overflow_mixin.dart:882:31: Context: The method 'TextOverflowMixin.layoutInlineChildren' has fewer positional arguments than those of overridden method 'RenderBox with ContainerRenderObjectMixin, RenderInlineChildrenContainerDefaults.layoutInlineChildren'.
List layoutInlineChildren(
^
../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:12:7: Context: This is the overridden method ('layoutInlineChildren').
class _RenderParagraph extends RenderBox
^
../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/extended/rendering/paragraph.dart:31:7: Error: Class '_RenderParagraph with TextOverflowMixin, SelectionMixin with GradientMixin' inherits multiple members named 'RenderInlineChildrenContainerDefaults.layoutInlineChildren%TextOverflowMixin.layoutInlineChildren%TextOverflowMixin.layoutInlineChildren' with incompatible signatures.
Try adding a declaration of 'RenderInlineChildrenContainerDefaults.layoutInlineChildren%TextOverflowMixin.layoutInlineChildren%TextOverflowMixin.layoutInlineChildren' to '_RenderParagraph with TextOverflowMixin, SelectionMixin with GradientMixin'.
class ExtendedRenderParagraph extends _RenderParagraph
^
../../../../fvm/versions/3.24.3/packages/flutter/lib/src/rendering/paragraph.dart:167:31: Context: This is one of the overridden members.
List layoutInlineChildren(double maxWidth, ChildLayouter layoutChild, ChildBaselineGetter getChildBaseline) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
../../../../fvm/versions/3.24.3/packages/flutter/lib/src/rendering/paragraph.dart:167:31: Context: This is one of the overridden members.
List layoutInlineChildren(double maxWidth, ChildLayouter layoutChild, ChildBaselineGetter getChildBaseline) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.dev/extended_text_field-15.0.0/lib/src/official/rendering/editable.dart:1827:29: Error: Too few positional arguments: 3 required, 2 given.
layoutInlineChildren(
^
../../../../.pub-cache/hosted/pub.dev/extended_text_field-15.0.0/lib/src/official/rendering/editable.dart:1844:29: Error: Too few positional arguments: 3 required, 2 given.
layoutInlineChildren(
^
../../../../.pub-cache/hosted/pub.dev/extended_text_field-15.0.0/lib/src/official/rendering/editable.dart:1940:29: Error: Too few positional arguments: 3 required, 2 given.
layoutInlineChildren(width, ChildLayoutHelper.dryLayoutChild));
^
../../../../.pub-cache/hosted/pub.dev/extended_text_field-15.0.0/lib/src/official/rendering/editable.dart:2364:54: Error: Too few positional arguments: 3 required, 2 given.
..setPlaceholderDimensions(layoutInlineChildren(
^
../../../../.pub-cache/hosted/pub.dev/extended_text_field-15.0.0/lib/src/official/rendering/editable.dart:2377:50: Error: Too few positional arguments: 3 required, 2 given.
_placeholderDimensions = layoutInlineChildren(
^
../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:400:29: Error: Too few positional arguments: 3 required, 2 given.
layoutInlineChildren(
^
../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:417:29: Error: Too few positional arguments: 3 required, 2 given.
layoutInlineChildren(
^
../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:436:35: Error: Too few positional arguments: 3 required, 2 given.
layoutInlineChildren(width, ChildLayoutHelper.dryLayoutChild))
^
../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:576:58: Error: Too few positional arguments: 3 required, 2 given.
..setPlaceholderDimensions(layoutInlineChildren(
^
../../../../.pub-cache/hosted/pub.dev/extended_text-13.1.0/lib/src/official/rendering/paragraph.dart:588:50: Error: Too few positional arguments: 3 required, 2 given.
_placeholderDimensions = layoutInlineChildren(
^
../../../../.pub-cache/hosted/pub.dev/tencent_cloud_chat_message-1.6.1/lib/tencent_cloud_chat_message_widgets/menu/selection_area/tencent_selectable_region.dart:1631:19: Error: The type 'SelectionEventType' is not exhaustively matched by the switch cases since it doesn't match 'SelectionEventType.selectParagraph'.
FAILURE: Build failed with an exception.