letterSpacing method

Text letterSpacing(
  1. double spacing
)

字母间距,可为负数

Implementation

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