textStyle property

set textStyle (TextStyle value)

Implementation

set textStyle(TextStyle value) {
  if (_prototypePainter.text!.style == value) {
    return;
  }
  _prototypePainter.text = TextSpan(text: ' ', style: value);
  markNeedsLayout();
}