allowFontScaling property

bool allowFontScaling
getter/setter pair

控制字体是否要根据系统的“字体大小”辅助选项来进行缩放。默认值为false。 allowFontScaling Specifies whether fonts should scale to respect Text Size accessibility settings. The default is false.

Implementation

bool allowFontScaling = false;