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