lineSpacing method

Text lineSpacing(
  1. double spacing
)

行间距,倍数

Implementation

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