markdown_widget icon indicating copy to clipboard operation
markdown_widget copied to clipboard

Error: The method 'SelectionArea' isn't defined for the class '_MarkdownWidgetState'.

Open xiangyuisabatman opened this issue 2 years ago • 1 comments

image

image

xiangyuisabatman avatar Sep 22 '22 03:09 xiangyuisabatman

  • 请贴出你使用的 flutter doctor 打印信息,猜测是flutter版本的问题 @xiangyuisabatman

asjqkkkk avatar Sep 22 '22 10:09 asjqkkkk

@asjqkkkk Hi, I'm encountering the same error. Here is my flutter doctor print:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.1, on Microsoft Windows [Versi¢n 10.0.19042.1706], locale es-CL)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.6)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.72.2)
[√] Connected device (4 available)
[√] HTTP Host Availability

• No issues found!

JavierL1 avatar Oct 16 '22 18:10 JavierL1

The error went away by running flutter upgrade. My new flutter doctor looks like this:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.4, on Microsoft Windows [Versi¢n 10.0.19042.1706], locale es-CL)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.6)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.72.2)
[√] Connected device (4 available)
[√] HTTP Host Availability

• No issues found!

JavierL1 avatar Oct 16 '22 18:10 JavierL1