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