TextStyle constructor
const
TextStyle({
- num? fontSize,
- FontWeight? fontWeight,
- String? fontStyle,
- Color? color,
- num? letterSpacing,
- num? height,
- String? fontFamily,
- TextDecoration? decoration,
Creates CSS text style values.
Implementation
const TextStyle(
{this.fontSize,
this.fontWeight,
this.fontStyle,
this.color,
this.letterSpacing,
this.height,
this.fontFamily,
this.decoration});