bold method

TextField bold()

粗体

Implementation

TextField bold() {
  var newStyle = const TextStyle(fontWeight: FontWeight.bold);
  return copyWith(style: style?.merge(newStyle) ?? newStyle);
}