wordSpacing method
设置文本的单词间距
参数:
- space: 单词间距
返回: 应用了新单词间距的 TextSpan 对象
Implementation
T wordSpacing(double space) => this.copyWith(
style: (style ?? const TextStyle()).copyWith(
wordSpacing: space,
),
);
设置文本的单词间距
参数:
返回: 应用了新单词间距的 TextSpan 对象
T wordSpacing(double space) => this.copyWith(
style: (style ?? const TextStyle()).copyWith(
wordSpacing: space,
),
);