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

[Bug report] Flutter 3.19 support #160

Closed alarkirikal closed 9 months ago

alarkirikal commented 9 months ago

Version

12.0.1

Platforms

iOS

Device Model

All

flutter info

[✓] Flutter (Channel stable, 3.19.0, on macOS 14.3.1 23D60 darwin-arm64, locale en-US)
    • Flutter version 3.19.0 on channel stable at /Users/username/.asdf/installs/flutter/3.19.0-stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bae5e49bc2 (2 days ago), 2024-02-13 17:46:18 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/alarkirikal/Library/Android/sdk
    • Platform android-34, build-tools 33.0.0
    • ANDROID_HOME = /Users/username/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.86.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.82.0

[✓] VS Code (version 1.87.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension version 3.83.20240201

[✓] Connected device (3 available)
    • iPhone 15 Pro (mobile)         • 42CBF8A3-5A2F-47CF-ACD8-7C967E3FAED2 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)                • macos                                • darwin-arm64   • macOS 14.3.1 23D60 darwin-arm64
    • Chrome (web)                   • chrome                               • web-javascript • Google Chrome 121.0.6167.184

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

• No issues found!

How to reproduce?

Running the app after upgrading to flutter 3.19.0 and using the latest version of extended_text will throw an error within _SelectableFragment

Logs

Launching lib/main.dart on iPhone 15 Pro in debug mode...
Xcode build done.                                           93.9s
Failed to build iOS app
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/extended_text-12.0.1/lib/src/official/rendering/paragraph.dart:1104:7: Error: The non-abstract class '_SelectableFragment' is missing implementations for these members:

Could not build the application for the simulator.
Error launching application on iPhone 15 Pro.

Exited (1).

Example code (optional)

No response

Contact

No response

zmtzawqlp commented 9 months ago

https://github.com/fluttercandies/extended_text/commit/78c33e7aa22b3166ca6424e23dc747d18b0502fd

done