fontSize property

double fontSize
final

The size of glyphs (in logical pixels) to use when painting the text.

During painting, the fontSize is multiplied by the current textScaleFactor to let users make it easier to read text by increasing its size.

getParagraphStyle will default to 14 logical pixels if the font size isn't specified here.

Implementation

final double fontSize