letterSpacing method

TextField letterSpacing(
  1. double spacing
)

字母间距,可为负数

Implementation

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