TypeStyle constructor
TypeStyle({
- String? fontFamily,
- String? fontPostScriptName,
- num? paragraphSpacing,
- num? paragraphIndent,
- bool? italic,
- num? fontWeight,
- num? fontSize,
- TextCase? textCase,
- TextDecoration? textDecoration,
- TextAutoResize? textAutoResize,
- TextAlignHorizontal? textAlignHorizontal,
- TextAlignVertical? textAlignVertical,
- num? letterSpacing,
- List<
Paint> ? fills, - Map<
String, num> ? opentypeFlags, - num? lineHeightPx,
- num? lineHeightPercent,
- num? lineHeightPercentFontSize,
- LineHeightUnit? lineHeightUnit,
Implementation
TypeStyle({
this.fontFamily,
this.fontPostScriptName,
this.paragraphSpacing,
this.paragraphIndent,
this.italic,
this.fontWeight,
this.fontSize,
this.textCase,
this.textDecoration,
this.textAutoResize,
this.textAlignHorizontal,
this.textAlignVertical,
this.letterSpacing,
this.fills,
this.opentypeFlags,
this.lineHeightPx,
this.lineHeightPercent,
this.lineHeightPercentFontSize,
this.lineHeightUnit,
});