Flutter Text文本删除线、下划线设置

Text(
      "¥145",
      style: TextStyle(
        //中间删除线 TextDecoration.lineThrough
        //底部下划线TextDecoration.underline
        //顶部上划线 TextDecoration.overline
        decoration: TextDecoration.lineThrough,
        fontSize: 14,
        color: Colors.grey,
      )

你可能感兴趣的:(Flutter Text文本删除线、下划线设置)