alternativeFontSize function
Implementation
double alternativeFontSize(
Size deviceSize, {
required double potraitFontSize,
required double landscapeFontSize,
}) {
return isPortraitMode(deviceSize) ? potraitFontSize : landscapeFontSize;
}
double alternativeFontSize(
Size deviceSize, {
required double potraitFontSize,
required double landscapeFontSize,
}) {
return isPortraitMode(deviceSize) ? potraitFontSize : landscapeFontSize;
}