setSp method
Font size adaptation method
Implementation
num setSp(num fontSize, {bool? allowFontScalingSelf}) =>
(allowFontScaling || (allowFontScalingSelf ?? false))
? (fontSize * scaleText)
: (fontSize * scaleText) / _textScaleFactor!;