setStyle method

void setStyle(
  1. {required String? fontFamily,
  2. required double? fontSize,
  3. required FontWeight? fontWeight,
  4. required TextDirection textDirection,
  5. 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.


void setStyle({
  required String? fontFamily,
  required double? fontSize,
  required FontWeight? fontWeight,
  required TextDirection textDirection,
  required TextAlign textAlign,
}) {}