enableScale static method
Enable scale
if the enableWH return false, the width and the height scale ratio will be 1 if the enableText return false, the text scale ratio will be 1
Implementation
static void enableScale({bool Function()? enableWH, bool Function()? enableText}) {
_enableScaleWH = enableWH ?? () => true;
_enableScaleText = enableText ?? () => true;
}