Replies: 1 comment 3 replies
-
Do you mean something similar to this ? : https://pub.dev/packages/markup_text |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to write an app that has a "diff" viewer for viewing the differences between certain configurations. I wanted to write a Textbox widget with the following properties:
I've tried using a combination of multiple Text widgets for each line and put them all in a Column widget, but this doesn't allow for multiple lines of text to be selected at a time:
I can achieve a more "Textbox-like" widget by using a read-only TextField, but there doesn't seem to be a way to change the color of individual text within the TextField.
I've tried using Markdown as well but it naturally doesn't support font colors, and using the
gitHubFlavored
extension set with the 'diff' code block doesn't produce colors in Flet.Is there any supported way to set the color of specific text within a Text or TextField widget? Or perhaps a way to support a multiline select across a Column of Text?
Beta Was this translation helpful? Give feedback.
All reactions