gpt4 book ai didi

flutter - Flutter Text 是否支持长字的换行?

转载 作者:IT老高 更新时间:2023-10-28 12:41:34 45 4
gpt4 key购买 nike

有没有办法在 Flutter 中将长单词分成多行,就像我们可以使用 { word-wrap: break-word; } 在网络上?

最佳答案

我认为您要求的是此功能请求的内容 https://github.com/flutter/flutter/issues/18443

Currently we do not support hyphenation in Flutter text, but there are indeed hyphenation systems in minikin that we depend on. They are currently not wired up/integrated, but I believe hyphenation is something we would want to eventually support.

请对问题的初始评论进行投票以提高优先级。

关于flutter - Flutter Text 是否支持长字的换行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52410861/

45 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com