fontSize property

double? fontSize
final

The size of text (in logical pixels) to use when obtaining metrics from the font.

The fontSize is used to get the base set of metrics that are then used to calculated the metrics of strut. The height and leading are expressed as a multiple of fontSize.

The default fontSize is 14 logical pixels.

Implementation

final double? fontSize;