calculateFontSize static method
Implementation
static double calculateFontSize(BuildContext context, double height) {
final mediaQuery = MediaQuery.of(context);
final screenHeight = mediaQuery.size.height;
return screenHeight * height;
}
static double calculateFontSize(BuildContext context, double height) {
final mediaQuery = MediaQuery.of(context);
final screenHeight = mediaQuery.size.height;
return screenHeight * height;
}