setStyle method
- @Deprecated('Use updateStyle instead. ' 'This feature was deprecated after v3.41.0-0.0.pre.')
- 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
@Deprecated(
'Use updateStyle instead. '
'This feature was deprecated after v3.41.0-0.0.pre.',
)
void setStyle({
required String? fontFamily,
required double? fontSize,
required FontWeight? fontWeight,
required TextDirection textDirection,
required TextAlign textAlign,
}) {}