setStyle method
- required String? fontFamily,
- required double? fontSize,
- required FontWeight? fontWeight,
- required TextDirection textDirection,
- required TextAlign textAlign,
Informs the text input control about text style changes.
This method is called on the when the attached input client's text style changes.
Implementation
void setStyle({
required String? fontFamily,
required double? fontSize,
required FontWeight? fontWeight,
required TextDirection textDirection,
required TextAlign textAlign,
}) {}