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