italic method
斜体
Implementation
TextField italic() {
var newStyle = const TextStyle(fontStyle: FontStyle.italic);
return copyWith(style: style?.merge(newStyle) ?? newStyle);
}
斜体
TextField italic() {
var newStyle = const TextStyle(fontStyle: FontStyle.italic);
return copyWith(style: style?.merge(newStyle) ?? newStyle);
}