this.inherit = true,
this.color,
this.backgroundColor,
this.fontSize,
this.fontWeight,
this.fontStyle,
this.letterSpacing,
this.wordSpacing,
this.textBaseline,
this.height,
this.locale,
this.foreground,
this.background,
this.shadows,
this.fontFeatures,
this.decoration,
this.decorationColor,
this.decorationStyle,
this.decorationThickness,
this.debugLabel,
String? fontFamily,
List? fontFamilyFallback,
String? package,
})
| 属性 | 说明 |
| :-: | :-: |
| color | 颜色 |
| backgroundColor | 背景色 |
| fontSize | 字体大小 |
| fontWeight | 字体权重(粗细) |
| fontStyle | 样式 |
| letterSpacing | 字符间隔 |
| wordSpacing | 单词间隔 |
| decoration | 文本装饰 |
| decorationStyle | 文本装饰样式 |