Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 颤振Web中的SelectableText.rich_Flutter_Dart - Fatal编程技术网

Flutter 颤振Web中的SelectableText.rich

Flutter 颤振Web中的SelectableText.rich,flutter,dart,Flutter,Dart,我尝试使用以下代码段: SelectableText.rich( TextSpan( text: 'Hello', // default text style children: <TextSpan>[ TextSpan(text: ' beautiful ', style: TextStyle(fontStyle: FontStyle.italic)), TextSpan(text: 'world', style: TextStyle(f

我尝试使用以下代码段:

SelectableText.rich(
  TextSpan(
    text: 'Hello', // default text style
    children: <TextSpan>[
      TextSpan(text: ' beautiful ', style: TextStyle(fontStyle: FontStyle.italic)),
      TextSpan(text: 'world', style: TextStyle(fontWeight: FontWeight.bold)),
    ],
  ),
)
SelectableText.rich(
TextSpan(
text:'你好',//默认文本样式
儿童:[
TextSpan(文本:“美丽”,样式:TextStyle(fontStyle:fontStyle.italic)),
TextSpan(text:'world',style:TextStyle(fontwweight:fontwweight.bold)),
],
),
)
在为web导出之后,我注意到文本是不可选择的。这是一个偶然的功能,不支持网络,但只有在移动


谢谢

网站仍处于alpha预览级别。检查颤振问题,如果您找不到已标记为问题的问题,请放心。这很容易被注意到,但你可能不喜欢它得到的优先权