style property

TextStyle? style
final

Sets the style of the text being edited.

Only fontFamily, fontSize, fontWeight, and color are supported.

When using fontFamily, pass a complete font name including weight. In this case, fontWeight is ignored.

Default: null

Implementation

final TextStyle? style;