TextPaint constructor

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

Implementation

TextPaint({TextStyle? style, TextDirection? textDirection})
    : style = style ?? defaultTextStyle,
      super(
        textDirection: textDirection,
      );