textScaleFactor property

double? textScaleFactor
final

The font scale of the text to be displayed.

Sample code

This marquee has a fixed text scale factor, indipendent to the user selected resolution:

Marquee(
  text: 'This is some bold text.',
  textScaleFactor: 1
)

See also:

  • text to provide the text itself.

Implementation

final double? textScaleFactor;