IDKitTextStyle extension
Extension of text style.
- on
Properties
- black → TextStyle
-
Black, the most thick
no setter
- bold → TextStyle
-
Bold
no setter
- extraBold → TextStyle
-
Extra-bold
no setter
- extraLight → TextStyle
-
Extra-light
no setter
- italic → TextStyle
-
Font style.
no setter
- light → TextStyle
-
Light
no setter
- medium → TextStyle
-
Medium
no setter
- normal → TextStyle
-
Normal / regular / plain
no setter
- plain → TextStyle
-
no setter
- regular → TextStyle
-
no setter
- semibBold → TextStyle
-
Semi-bold
no setter
- thin → TextStyle
-
Font weight.
Thin, the least thick
no setter
Methods
-
aHexColor(
String? value) → TextStyle -
value
: #FF151515 -
c(
Color? color) → TextStyle -
Font color.
color
: Colors.red -
fSize(
double? value) → TextStyle - Set text size.
-
h(
double? value) → TextStyle - Set text line height.
-
hexAColor(
String? value) → TextStyle -
value
: #151515FF -
hexColor(
String? value) → TextStyle -
value
: #151515 -
lSpacing(
double? value) → TextStyle - Set text letter spacing.
-
oColor(
double value) → TextStyle - Sets the opacity of the color of the text style
-
wSpacing(
double? value) → TextStyle - Set text word spacing.