addTextScaleScenario method
void
addTextScaleScenario(})
addTextScaleScenario will add a test to GoldenBuilder where u can provide custom font size
Implementation
void addTextScaleScenario(
String name,
Widget widget, {
double textScaleFactor = textScaleFactorMaxSupported,
}) {
addScenario(
'$name ${textScaleFactor}x',
_TextScaleFactor(
textScaleFactor: textScaleFactor,
child: widget,
));
}