lineSpacing method

TextField lineSpacing(
  1. double spacing
)

行间距,倍数

Implementation

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