TextPaint constructor

TextPaint({
  1. TextStyle? style,
  2. TextDirection textDirection = TextDirection.ltr,
})

Implementation

TextPaint({
  TextStyle? style,
  this.textDirection = TextDirection.ltr,
}) : style = style ?? defaultTextStyle;