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

When using TextOneLine, we found all kinds of strange unicode characters when inspecting our app in appium. #24

Closed
dickverweij opened this issue Dec 20, 2022 · 1 comment

Comments

@dickverweij
Copy link

When inspecting the code for TextOneLine we saw this:

String? get data => super.data == null ? null : Characters(super.data!).toList().join("\u{200B}");

why is that?

@dickverweij dickverweij changed the title When using TextOneLine We found all kind of strange unicode characters when inspecting our app in appium. When using TextOneLine, we found all kinds of strange unicode characters when inspecting our app in appium. Dec 20, 2022
@marcglasberg
Copy link
Owner

It's adding zero-width spaces between all charactes. This will force the text to be displayed in a single line.

Please see: flutter/flutter#18761

Keep in mind this widget is a temporary hack. It will be deprecated when Flutter fixes this issue.

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

No branches or pull requests

2 participants