[Flutter-01] Text

1. Text 文本

const Text(
    this.data, {
    Key key,
    this.style, // style: TextStyle(fontSize: 36)
    this.strutStyle,
    this.textAlign,
    this.textDirection, // TextDirection.ltr
    this.locale,
    this.softWrap,
    this.overflow,
    this.textScaleFactor,
    this.maxLines,
    this.semanticsLabel,
    this.textWidthBasis,
    this.textHeightBehavior,
  })

1.1. Text范例

Text(
             '勾选协议',
              style: TextStyle(fontSize: 36),
              textDirection: TextDirection.ltr,
),
上一篇:数据可视化入门篇----matplotlib库绘制简单的折线图


下一篇:【lssvm预测模型】基于蝙蝠算法改进的最小二乘支持向量机lssvm预测