getStyle static method

TextStyle getStyle()

返回当前设置的样式属性对象

Implementation

static TextStyle getStyle() {
  return TextStyle(TextFormat(textSize: 24));
}