style property

TextStyle? get style

The text style to apply.

Implementation

TextStyle? get style => _style;
set style (TextStyle? v)

Sets the text style and marks the render object as needing paint.

Implementation

set style(TextStyle? v) {
  if (_style == v) return;
  _style = v;
  _effectiveStyle = null;
  markNeedsPaint();
}