Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report] 3.22 Build throws error #235

Closed
ebala96 opened this issue Apr 29, 2024 · 3 comments
Closed

[Bug report] 3.22 Build throws error #235

ebala96 opened this issue Apr 29, 2024 · 3 comments

Comments

@ebala96
Copy link

ebala96 commented Apr 29, 2024

Version

14.0.0

Platforms

Web

Device Model

Chrome

flutter info

[!] Flutter (Channel [user-branch], 3.22.0-0.3.pre, on Ubuntu 18.04.6 LTS 4.15.0-213-generic, locale en_IN)
    ! Flutter version 3.22.0-0.3.pre on channel [user-branch] at /home/ari/snap/flutter/common/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision 87b652410d (5 days ago), 2024-04-23 21:41:18 -0500
    • Engine revision b4bfd45986
    • Dart version 3.4.0 (build 3.4.0-282.3.beta)
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/ari/Android/Sdk
    • Platform android-UpsideDownCakePrivacySandbox, build-tools 34.0.0
    • Java binary at: /home/ari/android-studio-2023.1.1.27-linux/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2023.1)
    • Android Studio at /home/ari/android-studio-2023.1.1.27-linux/android-studio
    • Flutter plugin version 77.1.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2020.3)
    • Android Studio at /home/ari/android-studio-2020.3.1.23-linux/android-studio
    • Flutter plugin version 63.2.1
    • Dart plugin version 203.8452
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.1)
    • IntelliJ at /snap/intellij-idea-ultimate/490
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.88.1)
    • VS Code at /snap/code/current/usr/share/code
    • Flutter extension version 3.78.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 18.04.6 LTS 4.15.0-213-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 124.0.6367.78

[✓] Network resources
    • All expected network resources are available.

How to reproduce?

I am trying to do a flutter build web --wasm
Getting error in extended_text_field package.

Logs

../../../../../../.pub-cache/hosted/pub.dev/extended_text_field-13.0.1/lib/src/official/widgets/editable_text.dart:3348:28: Error: The method 'isSelectionWithinTextBounds' isn't defined for the class 'TextEditingController'.
 - 'TextEditingController' is from 'package:flutter/src/widgets/editable_text.dart' ('../../../../../../snap/flutter/common/flutter/packages/flutter/lib/src/widgets/editable_text.dart').
Try correcting the name to the name of an existing method, or defining a method named 'isSelectionWithinTextBounds'.
    if (!widget.controller.isSelectionWithinTextBounds(selection)) {
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Example code (optional)

No response

Contact

No response

@GoblinV
Copy link

GoblinV commented May 14, 2024

我也遇到了同样的问题,这个要怎么解决

@zmtzawqlp zmtzawqlp changed the title [Bug report] WASM Build throws error [Bug report] 3.22 Build throws error May 15, 2024
@zmtzawqlp
Copy link
Member

migrate to Flutter 3.22.0 later

@zmtzawqlp
Copy link
Member

90efffb

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

No branches or pull requests

3 participants