wordSpacing method

Text wordSpacing(
  1. double spacing
)

单词间距,可为负数

Implementation

Text wordSpacing(double spacing) {
  var newStyle = TextStyle(wordSpacing: spacing);
  return copyWith(style: style?.merge(newStyle) ?? newStyle);
}