flutter 通过TextStyle去除字体的双下划线
要去除字体的双下划线,可以使用TextStyle中的decoration属性,并将其设置为TextDecoration.none。例如:
Text(
'Hello World',
style: TextStyle(
decoration: TextDecoration.none,
),
)
这将在文本中删除任何装饰线,包括下划线。
原文地址: https://www.cveoy.top/t/topic/d9rp 著作权归作者所有。请勿转载和采集!