selfFontScale method
Implementation
double selfFontScale(
num size, {
bool allow = false,
}) {
if (!_systemFontScale && allow) {
return size * _textScaleFactor;
} else if (_systemFontScale && !allow) {
return size / _textScaleFactor;
}
return size.toDouble();
}