Skip to content

flutter升级到3.44报错 #274

Description

@like0121

Version

extended_text_field: ^16.0.2

Platforms

Android

Device Model

Android 16

flutter info

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.44.0, on macOS 26.5 25F71 darwin-arm64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.0.1)
[✓] Chrome - develop for the web
[✓] Connected device (3 available)
    ! Error: Browsing on the local area network for mac的iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

• No issues found!

How to reproduce?

程序启动报错

Logs

../../../../.pub-cache/hosted/pub.flutter-io.cn/extended_text_field-16.0.2/lib/src/official/widgets/editable_text.dart:4894:31: Error: Type 'ExtendSelectionByPageIntent' not found.
  void _extendSelectionByPage(ExtendSelectionByPageIntent intent) {
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/extended_text_field-16.0.2/lib/src/official/widgets/editable_text.dart:4894:31: Error: 'ExtendSelectionByPageIntent' isn't a type.
  void _extendSelectionByPage(ExtendSelectionByPageIntent intent) {
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/extended_text_field-16.0.2/lib/src/official/widgets/editable_text.dart:5044:24: Error: 'ExtendSelectionByPageIntent' isn't a type.
        CallbackAction<ExtendSelectionByPageIntent>(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../.pub-cache/hosted/pub.flutter-io.cn/extended_text_field-16.0.2/lib/src/official/widgets/editable_text.dart:5043:5: Error: The getter 'ExtendSelectionByPageIntent' isn't defined for the type '_EditableTextState'.
 - '_EditableTextState' is from 'package:extended_text_field/src/extended/widgets/text_field.dart' ('../../../../.pub-cache/hosted/pub.flutter-io.cn/extended_text_field-16.0.2/lib/src/extended/widgets/text_field.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'ExtendSelectionByPageIntent'.
    ExtendSelectionByPageIntent: _makeOverridable(
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot_program failed: Exception

Example code (optional)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions