-
Notifications
You must be signed in to change notification settings - Fork 91
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
Only break line if meet break line symbols #91
Comments
Hi @coderof19clc7 , do you mean something like that, this effect only occurs within code blocks. test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code; test code;
|
yes that right, how can I do that ? |
Hi @coderof19clc7 , there is a temporary solution, insert And I'll implement it as a default feature in the next version.
|
thanks for your solution, i will try it out |
@asjqkkkk your solution work as expected but it causes this error
A Scrollbar cannot be painted without a ScrollPosition. The Scrollbar attempted to use the PrimaryScrollController. This ScrollController should be associated with the ScrollView that the Scrollbar is being applied to.A ScrollView with an Axis.vertical ScrollDirection on mobile platforms will automatically use the PrimaryScrollController if the user has not provided a ScrollController. To use the PrimaryScrollController explicitly, set ScrollView.primary to true for the Scrollable widget. When the exception was thrown, this was the stack: The error does not cause any unexpected behavior, I just want to tell you about it. |
this issue is associated with flutter/flutter#97873 you can have a try by pass the same
|
ok, I will try out |
sorry for late reply, the scroll and render of your solution work really good, but when try to select the text in markdown, if I not hold into the text but the background instead, this exception occurs
|
Yes, it's the flutter issue flutter/flutter#115787 |
got it, thanks so much for your support |
@asjqkkkk although this issue is completed but I want to ask 1 more question is that I saw that your package depends on visibility_detector package, what does that package do inside your package? |
It can detect if the headings in a Markdown document are visible or not, which can be used to implement a table of contents functionality. |
I see, thanks for your answer |
Can this package update the rendering feature so that it can render full text in 1 line instead of soft wrap and only break line when there is a break line symbols ?
The text was updated successfully, but these errors were encountered: