body: const Center(
child: Text(
"张三疯张三疯张三疯张三疯张三疯张三疯张三疯张三疯张三疯张三疯张三疯", //文字内容
style: TextStyle(
color: Colors.red,//字体颜色
backgroundColor: Colors.lightBlue,//背景色
fontSize: 18,//文字大小
fontFamily: '楷体',//字体
fontStyle: FontStyle.italic,//文字样式
fontWeight: FontWeight.bold,//文字加粗
letterSpacing: 5,//字间隔
wordSpacing: 10,//词间隔
// textBaseline:TextBaseline.ideographic,
height: 2,//高度,文字高度倍数
leadingDistribution: TextLeadingDistribution.even,
shadows: [//文字发光
Shadow(color: Colors.yellow,
blurRadius: 1,
offset: Offset(1, 1)),
Shadow(color: Colors.yellow,
blurRadius: 1,
offset: Offset(2, 2)),
Shadow(color: Colors.yellow,
blurRadius: 1,
offset: Offset(3, 3)),
Shadow(color: Colors.yellow,
blurRadius: 1,
offset: Offset(4, 4)),
Shadow(color: Colors.yellow,
blurRadius: 1,
offset: Offset(5, 5)),
Shadow(color: Colors.yellow,
blurRadius: 1,
offset: Offset(6, 6))
],
decoration: TextDecoration.underline,//文字下划线,删除线等
decorationColor: Colors.green,//文字线颜色
decorationStyle: TextDecorationStyle.dotted,//文字线样式
decorationThickness: 2//文字线高度
),
softWrap: false,
textAlign: TextAlign.end,//文字对齐方向
textDirection: TextDirection.rtl,//
overflow: TextOverflow.ellipsis,//文字超出省略号
textScaleFactor: 1,
maxLines: 2,//文字最大行数
semanticsLabel: "武当",//语义标签
textWidthBasis: TextWidthBasis.longestLine,
))