updateStyle method

void updateStyle(
  1. TextInputStyle style
)

Send text styling information.

This information is used by the Flutter Web Engine to change the style of the hidden native input's content. Hence, the content size will match to the size of the editable widget's content.

Implementation

void updateStyle(TextInputStyle style) {
  assert(attached);
  TextInput._instance._updateStyle(style);
}