TextStyleSubject extension
Allows accessing various properties of TextStyle.
Properties
-
fontSize
→ Subject<
double> -
A Subject<double> representing the
fontSize
of the TextStyle. If thefontSize
is not explicitly set, it defaults to 14.no setter -
fontStyle
→ Subject<
FontStyle> -
A Subject<FontStyle> representing the
fontStyle
of the TextStyle. If thefontStyle
is not explicitly set, it defaults to FontStyle.normal.no setter -
fontWeight
→ Subject<
FontWeight> -
A Subject<FontWeight> representing the
fontWeight
of the TextStyle. If thefontWeight
is not explicitly set, it defaults to FontWeight.normal.no setter -
letterSpacing
→ Subject<
double> -
Gets a Subject<double> representing the
letterSpacing
of the TextStyle. If theletterSpacing
is not explicitly set, it defaults to 0.no setter